mercredi 18 novembre 2020

panic: testing: t.Parallel called multiple times in go Testing [closed]

i did unit test using testing library in go when i try to use

go test -run (test function name ) 

i found this error: panic: testing: t.Parallel called multiple times this only happens if there are more than one test case. if i have only one test case it runs normally.

Aucun commentaire:

Enregistrer un commentaire