Currently if you have t.Parallel() enabled you get an error saying "name mismatch".
This doesn't indicate at all what the error is. Instead there should be a meaningful error informing you that likely you have parallel tests and to please run go test -parallel 1.
Currently if you have t.Parallel() enabled you get an error saying "name mismatch".
This doesn't indicate at all what the error is. Instead there should be a meaningful error informing you that likely you have parallel tests and to please run
go test -parallel 1
.