Skip to content

Conversation

zak905
Copy link
Contributor

@zak905 zak905 commented Aug 4, 2022

This fixes #28
However I did not find a way to completely customize the logged message because the testing package does not allow such thing, (see golang/go#37708)

The printed message shows now where the error occurs in the calling code, however expect.go:213: will still appear as a prefix to the error message, for example:

expect.go:213: http_test.go:12: Unexpected status code: 400 != 11

@h2non h2non merged commit 6a2e4d1 into h2non:master Aug 9, 2022
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.

The error is not accurately describe
2 participants