gotestsum icon indicating copy to clipboard operation
gotestsum copied to clipboard

printf line cause a FAIL: message when all test cases are passing

Open dschveninger opened this issue 2 years ago • 1 comments

We had someone leave fmt.printf statement it the test and it wrote the following

anExampleKey%!(EXTRA string=aValue, vertypes.VersionBoundary={1.0.0 2.0.0 []})anExampleKey%!(EXTRA string=aValue2, vertypes.VersionBoundary={2.0.0 []})

The test passed but it was summarized as a failure in the end

Hope this helps to identify the issue, if not let me know. Thanks for the tool
image

dschveninger avatar Nov 11 '22 00:11 dschveninger