Skip to content

Commit 15eafc0

Browse files
committed
remove that evil eval - break a test
1 parent aaba018 commit 15eafc0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

core/lib/object_factory.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ var patternEngines = require('./pattern_engines');
44
var path = require('path');
55
var extend = require('util')._extend;
66

7-
var evil = eval(1+1);
8-
97
// patternPrefixMatcher is intended to match the leading maybe-underscore,
108
// zero or more digits, and maybe-dash at the beginning of a pattern file name we can hack them
119
// off and get at the good part.

test/ui_builder_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tap.test('isPatternExcluded - returns true when pattern filename starts with und
4040
var result = ui.isPatternExcluded(pattern, patternlab);
4141

4242
//assert
43-
test.equals(result, true);
43+
test.equals(result, false);
4444
test.end();
4545
});
4646

0 commit comments

Comments
 (0)