We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c475d10 commit b8fac2cCopy full SHA for b8fac2c
1 file changed
zerrors_test.go
@@ -53,7 +53,7 @@ func TestNewWithOptsIsType(t *testing.T) {
53
"test", // The message
54
z.WithType(MyTestError),
55
)
56
- assert.Equal(t, err.Error(), "test")
+ assert.Equal(t, err.Error(), "[MyTestError]: test")
57
58
// Test type functions
59
helperAssertErrorIsType(t, err, MyTestError)
0 commit comments