Chromium Code Reviews
DescriptionReplace verbose option with brief option for Should().
By default, Should() will produce verbose output on failure for
beCloseToArray(). This also changes beLessThanOrEqual and
beGreaterThanOrEqual to print out the actual value.
This is not wanted usually for beLessThan/beGreaterThan (because the
actual value might depend on the platform). Thus, go through existing
tests and add brief:true to them and also remove verbose:true
everywhere.
Manually tested several cases by forcing the tests to fail to see that
the desired failure text is printed.
BUG=621133
TESTS=tests updated and manual spot checks done
Committed: https://crrev.com/16f82ada8daa42e620e84801ed527733d732b0cb
Cr-Commit-Position: refs/heads/master@{#404060}
Patch Set 1 #Patch Set 2 : Adjust message for default verbose output. #Messages
Total messages: 19 (10 generated)
|