New issue
Advanced search Search tips

Issue 673485 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 676348
Owner:
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 672152



Sign in to add a comment

should().beLessThan failure message lacks information

Project Member Reported by rtoy@chromium.org, Dec 12 2016

Issue description

Consider this:

should(1, "description").beLessThan(0)

which prints

description is *NOT* less than 0.

This is not very informative as a failure message.  It should also print out the actual value.  Without it, you have no idea why the test failed because you don't know the actual value.

I suspect similar things occur for all tests that fail when a description is given.
 
Components: Blink>WebAudio
Labels: Test-Layout
Status: Assigned (was: Available)
This needs a bit of redesign in the text parsing (e.g. |$actual|, |$expected|).
Mergedinto: 676348
Status: Duplicate (was: Assigned)

Sign in to add a comment