Closed Bug 1375656 Opened 7 years ago Closed 6 years ago

`Assert.jsm` shouldn't truncate actual and expected values when reporting assertion failures

Categories

(Testing :: General, defect, P3)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1439772

People

(Reporter: lina, Unassigned)

Details

`kTruncateLength` is currently hardcoded in http://searchfox.org/mozilla-central/rev/ae94cfb36d804727dfb38f2750bfcaab4621df6e/testing/modules/Assert.jsm#54, which makes it particularly difficult to see what's wrong when `deepEqual` fails for two objects with many properties.

On IRC, Jaws suggested opting out of truncation when reporting failures, or if a pref is set to print the full output.
Priority: -- → P3
This was fixed! Thanks, Thom. :-)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.