Skip to content

Commit b8fac2c

Browse files
committed
fix: fixing tests
1 parent c475d10 commit b8fac2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zerrors_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestNewWithOptsIsType(t *testing.T) {
5353
"test", // The message
5454
z.WithType(MyTestError),
5555
)
56-
assert.Equal(t, err.Error(), "test")
56+
assert.Equal(t, err.Error(), "[MyTestError]: test")
5757

5858
// Test type functions
5959
helperAssertErrorIsType(t, err, MyTestError)

0 commit comments

Comments
 (0)