"-v" only changes how the result is presented. It doesn't change the result 
itself, i.e. it remains unclear which log message indicates the actual 
failure inside the test.

Jason E. Aten schrieb am Freitag, 10. März 2023 um 11:28:56 UTC+1:

> Perhaps the -v flag to "go test" would be helpful here, as in "go test -v".
>
> On Friday, March 10, 2023 at 7:27:48 AM UTC Patrick Ohly wrote:
>
>> JSON output doesn't help. There's no indication there either that a 
>> certain message is a test failure. That's because t.Error = t.Log + 
>> t.Fail. Attached is an example.
>>
>> Bye,  Patrick
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/83016c7f-b340-45ea-9ed3-355e90281346n%40googlegroups.com.

Reply via email to