You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
277 B
JavaScript
13 lines
277 B
JavaScript
7 years ago
|
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);
|
||
|
});
|