diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-04-17 10:44:41 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | c92c607c63dfd3c8dd1f2e8bc4d608448c7a3ed4 (patch) | |
| tree | c91dc938372da103f524b408d91c2d090e44e169 /internal/verify | |
| parent | 9cb79f0ca4cf6ba52bbb573c22778c005edf1ee7 (diff) | |
Verify Test: Use callStr on error
Diffstat (limited to 'internal/verify')
| -rw-r--r-- | internal/verify/verify_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/verify/verify_test.go b/internal/verify/verify_test.go index bb270a4..2c499b1 100644 --- a/internal/verify/verify_test.go +++ b/internal/verify/verify_test.go @@ -372,11 +372,11 @@ func compareResults( 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, '%s'", callStr()) + t.Errorf("error is not nil and result is true, callstr: '%s'", callStr()) } } |
