Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhang committed Apr 10, 2024
1 parent dbcd670 commit 007ff85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tests/predicate/predicate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestPanicRecovered(t *testing.T) {
assert.Equal(t, "sad times", panicError.Value, "PanicError.Value should be recovered value")
stacktrace := string(panicError.Stacktrace)
assert.Contains(t, stacktrace, "panic({", "panic should be included in the stack trace")
assert.Contains(t, stacktrace, ".Panicked.func", "function that panicked should be in the stack")
assert.Contains(t, stacktrace, ".Panicked.1", "function that panicked should be in the stack")
}

func TestPanicFallback(t *testing.T) {
Expand Down

0 comments on commit 007ff85

Please sign in to comment.