We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acabf83 commit 3ec023cCopy full SHA for 3ec023c
internal/tests/predicate/predicate_test.go
@@ -57,7 +57,7 @@ func TestPanicRecovered(t *testing.T) {
57
assert.Equal(t, "sad times", panicError.Value, "PanicError.Value should be recovered value")
58
stacktrace := string(panicError.Stacktrace)
59
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")
+ assert.Contains(t, stacktrace, ".Panicked.1", "function that panicked should be in the stack")
61
}
62
63
func TestPanicFallback(t *testing.T) {
0 commit comments