Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Faulty Tolly committed Sep 11, 2024
1 parent b42b2a8 commit bf0e7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fraud/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestNewFault(t *testing.T) {
block := &types.Block{}
fault := fraud.NewFault(underlyingErr, block)

if fault.Underlying != underlyingErr {
if !errors.Is(underlyingErr, fault.Underlying) {
t.Error("Expected Underlying error to match")
}

Expand Down

0 comments on commit bf0e7eb

Please sign in to comment.