beautify_js

This commit is contained in:
Ilya Kantor 2015-03-09 18:48:58 +03:00
parent 0febe4f5fd
commit 5c2f32e184
208 changed files with 3891 additions and 1474 deletions

View file

@ -1,13 +1,13 @@
describe("checkSpam", function() {
it('считает спамом "buy ViAgRA now"', function() {
assert.isTrue( checkSpam('buy ViAgRA now') );
assert.isTrue(checkSpam('buy ViAgRA now'));
});
it('считает спамом "free xxxxx"', function() {
assert.isTrue( checkSpam('free xxxxx') );
assert.isTrue(checkSpam('free xxxxx'));
});
it('не считает спамом "innocent rabbit"', function() {
assert.isFalse( checkSpam('innocent rabbit') );
assert.isFalse(checkSpam('innocent rabbit'));
});
});