spec/spec.grammar.js in visionmedia-jspec-2.4.2 vs spec/spec.grammar.js in visionmedia-jspec-2.4.3
- old
+ new
@@ -14,9 +14,15 @@
it 'should allow parens to be optional when no args are passed'
true.should.be_true
true.should.be_true()
end
+ it 'should allow semicolons'
+ true.should.be_true;
+ true.should.be_true();
+ true.should.be_true() ;
+ end
+
it 'should allow parens to be optional with args'
'foobar'.should.include 'foo'
'rawr'.should.not_include 'foo'
end
\ No newline at end of file