sparse-array.js 313 字节
Newer Older
Five-菜鸟级's avatar
init  
Five-菜鸟级 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
var test = require('tap').test;
var detective = require('../');
var fs = require('fs');
var src = fs.readFileSync(__dirname + '/files/sparse-array.js');

test('sparse-array', function (t) {
    //just check that this does not crash.
    t.doesNotThrow(function () {
      detective(src)
    })
    t.end();
});