Allow multi-line assertions
Reported by TJ Holowaychuk | April 7th, 2009 @ 06:59 PM
Like below:
a = 1..5
a.inject('', function(memo, v){
return memo + v
}).should.eql '12345'
Comments and changes to this ticket
-
TJ Holowaychuk April 7th, 2009 @ 07:00 PM
- Tag set to grammar, matchers
- Assigned user set to TJ Holowaychuk
-
TJ Holowaychuk April 7th, 2009 @ 08:52 PM
- Tag changed from grammar, matchers to bug, grammar, matchers
Marking as bug, since many users will not understand how the grammar prevents pollution of object prototypes, so this will be potentially confusion gotcha
-
TJ Holowaychuk April 9th, 2009 @ 03:44 AM
- Milestone cleared.
-
TJ Holowaychuk April 23rd, 2009 @ 09:30 PM
- Milestone cleared.
Delaying this for now, if you want multi-line assertions use expect()
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Tiny, full-featured JavaScript BDD framework.