You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: It looks like there are twoPRs already open to fix this issue.
For the sake of brevity, I will reduce this example to Equal and Less, but Equal and NotEqual behave the same and Greater, Less, GreaterOrEqual and LessOrEqual behave the same; however, I wrote a full example on the Go Playground. I see the same behavior in my code and in the Go playground.
I am reporting against version 1.6.1 running Go 1.14.
The issues are
Equal and Less display errors differently.
There seems to be no difference between the XXX and XXXf functions and the docs are unclear about any differences.
Edit: It looks like there are two PRs already open to fix this issue.
For the sake of brevity, I will reduce this example to
Equal
andLess
, butEqual
andNotEqual
behave the same andGreater
,Less
,GreaterOrEqual
andLessOrEqual
behave the same; however, I wrote a full example on the Go Playground. I see the same behavior in my code and in the Go playground.I am reporting against version 1.6.1 running Go 1.14.
The issues are
Equal
andLess
display errors differently.XXX
andXXXf
functions and the docs are unclear about any differences.Code:
Expected Output:
TestLess
should not output a trace from the Testify Library, i.e.assertion_compare.go:230
TestLess
should format the output correctly, at least in theassert.Lessf
case.I tried the documentation example as well and it failed the same way.
The text was updated successfully, but these errors were encountered: