Equals puts values around the wrong way
Bug #1525227 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Undecided
|
Jonathan Lange |
Bug Description
A test that does this:
self.
Will report an error that looks like this:
testtools.
I would expect it to look like this instead:
testtools.
Where the order of values in the error matches the order of values on the line of the assertion. This is particularly confusing when 'a' and 'b' are variables instead of literals, and when the values are very similar (e.g. both short strings but one ends with a newline—which is expected and which is actual?)
Changed in testtools: | |
status: | New → In Progress |
assignee: | nobody → Jonathan Lange (jml) |
Changed in testtools: | |
milestone: | none → next |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/testing- cabal/testtools /commit/ 4febe2e75145413 1515ef5eed94fcd 958c4fbfb1