Skip to content

Commit d27ebb3

Browse files
committed
fix tests
1 parent c44ec69 commit d27ebb3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/parseContent.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ var parseContent = require('../lib/parseContent');
88
var bannedWords = toRegExp(['poop', 'shit'], true);
99
var bannedUrls = toRegExp(['http://example.com', 'http://foo.bar']);
1010
var nil = '^(?!x)x';
11+
var is_topic = true;
1112

1213
assert.strictEqual(parseContent(
1314
'A whole lot of poop causes a ton of shit, shitzu, repoopulate',
1415
bannedWords,
1516
nil,
16-
false
17+
false,
18+
is_topic
1719
), 'A whole lot of p**p causes a ton of s**t, shitzu, repoopulate');
1820

1921
assert.strictEqual(parseContent(

0 commit comments

Comments
 (0)