Skip to content

Conversation

willfaught
Copy link
Contributor

This fixes confusing error reports like this:

--- FAIL: TestDefaultError (0.00s)
        Location:       error_test.go:47
        Error:          Not equal: "b" (expected)
                                != "a" (actual)
        Messages:       An error with value "a" is expected but got "b".

Note that the Error line says "b" is expected, but the Messages line says "a" is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant