run2.js 277 Bytes
var test = require('tap').test;
var check = require('../');

var fs = require('fs');
var file = __dirname + '/sources/run2.js';
var src = fs.readFileSync(file);

test('do not run sources (2)', function (t) {
    t.plan(1);
    var err = check(src, file);
    t.notOk(err);
});