Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow multi-line assertions

#55

Like below:


a = 1..5
a.inject('', function(memo, v){
  return memo + v
}).should.eql '12345'

Reported by TJ Holowaychuk · April 7th, 2009 @ 06:59 PM

State: new
Milestone: none
Assigned to: TJ Holowaychuk TJ Holowaychuk

Activity

  1. TJ Holowaychuk
    TJ Holowaychuk
    • Tag set to grammar, matchers
    • Assigned user set to TJ Holowaychuk

    April 7th, 2009 @ 07:00 PM

  2. TJ Holowaychuk
    TJ Holowaychuk
    • 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

    April 7th, 2009 @ 08:52 PM

  3. TJ Holowaychuk
  4. TJ Holowaychuk
    TJ Holowaychuk
    • Milestone cleared.

    Delaying this for now, if you want multi-line assertions use expect()

    April 23rd, 2009 @ 09:30 PM

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.