Skip to content

Commit 3ec023c

Browse files
committed
fix broken test
1 parent acabf83 commit 3ec023c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tests/predicate/predicate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func TestPanicRecovered(t *testing.T) {
5757
assert.Equal(t, "sad times", panicError.Value, "PanicError.Value should be recovered value")
5858
stacktrace := string(panicError.Stacktrace)
5959
assert.Contains(t, stacktrace, "panic({", "panic should be included in the stack trace")
60-
assert.Contains(t, stacktrace, ".Panicked.func", "function that panicked should be in the stack")
60+
assert.Contains(t, stacktrace, ".Panicked.1", "function that panicked should be in the stack")
6161
}
6262

6363
func TestPanicFallback(t *testing.T) {

0 commit comments

Comments
 (0)