summaryrefslogtreecommitdiff
path: root/internal/verify/verify_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 17:12:36 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit1f599f1aab37343ff61852a8616c640310dfaee4 (patch)
treef9784b2dc5c73ceab9fbc8cf6cdaab922385c553 /internal/verify/verify_test.go
parentcd4f13c5a8df0d7da2fbca3a741d396f220cff33 (diff)
Tests: Pass for V2 API
Diffstat (limited to 'internal/verify/verify_test.go')
-rw-r--r--internal/verify/verify_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/verify/verify_test.go b/internal/verify/verify_test.go
index cbc6cb9..bb270a4 100644
--- a/internal/verify/verify_test.go
+++ b/internal/verify/verify_test.go
@@ -359,24 +359,24 @@ func compareResults(
t.Errorf("error not expected but returned '%s', callstr '%s'", err.Error(), callStr())
}
if !ret {
- t.Errorf("error is nil and result is false, callstr '%s'", callStr())
+ t.Errorf("error is nil and result is false, callstr: '%s'", callStr())
}
return
}
if err == nil {
// we expect an error but received nil
- t.Errorf("expected error prefix '%s' but received nil, callstr '%s'", expectedErrPrefix, callStr())
+ t.Errorf("expected error prefix '%s' but received nil, callstr: '%s'", expectedErrPrefix, callStr())
return
}
if !strings.HasPrefix(err.Error(), expectedErrPrefix) {
// wrong error
- t.Errorf("expected error prefix '%s' for error '%s', callStr '%s'", expectedErrPrefix, err.Error(), callStr())
+ t.Errorf("expected error prefix '%s' for error '%s', callstr '%s'", expectedErrPrefix, err.Error(), callStr())
return
}
if ret {
- t.Errorf("error is not nil and result is true, callStr '%s'", callStr())
+ t.Errorf("error is not nil and result is true, '%s'", callStr())
}
}