Skip to content

Commit

Permalink
find/replace error
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1 committed Nov 9, 2023
1 parent 956fa3d commit 75a4a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/detectors/zulipchat/zulipchat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func TestZulipChat_FromChunk(t *testing.T) {
t.Fatalf("wantVerificationError = %v, verification error = %v", tt.wantVerificationErr, got[i].VerificationError())
}
}
ignoreOpts := cmpopts.IgnoreFields(detectors.Result{}, "Raw", "RawV2", *_test.go)
ignoreOpts := cmpopts.IgnoreFields(detectors.Result{}, "Raw", "RawV2", "verificationError")
if diff := cmp.Diff(got, tt.want, ignoreOpts); diff != "" {
t.Errorf("Zulipchat.FromData() %s diff: (-got +want)\n%s", tt.name, diff)
}
Expand Down

0 comments on commit 75a4a64

Please sign in to comment.