reverted helper

This commit is contained in:
Kiraub 2021-06-23 19:09:20 +02:00
parent e94f0cd362
commit 6a81ba12dd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ func assertErr(t *testing.T, err error) {
func assertEq(t *testing.T, msg string, exp interface{}, act interface{}) {
t.Helper()
if exp != act && !(exp == nil && act == nil) {
if exp != act {
t.Fatalf("failed to test for %s. exp=[%v] but act=[%v]", msg, exp, act)
}
}