diff --git a/internal/tests/predicate/predicate_test.go b/internal/tests/predicate/predicate_test.go index 7510b37..ffbcdbf 100644 --- a/internal/tests/predicate/predicate_test.go +++ b/internal/tests/predicate/predicate_test.go @@ -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) {