Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Dec 20, 2023
1 parent e39ceb1 commit 69b59b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/bb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestErrorsIs(t *testing.T) {
t.Logf("err = %+v", err)
t.Logf("errors.Is(err, strconv.ErrSyntax): %v", errors.Is(err, strconv.ErrSyntax))
t.Logf("err = %+v", err)
t.Logf("errors.Is(err, &strconv.NumError{}): %v", errors.Is(err, &strconv.NumError{}))
t.Logf("errors.Is(err, &strconv.NumError{Err: strconv.ErrRange}): %v", errors.Is(err, &strconv.NumError{Err: strconv.ErrRange}))
t.Logf("err = %+v", err)

var e2 *strconv.NumError
Expand Down

0 comments on commit 69b59b3

Please sign in to comment.