mirror of
https://github.com/opencontainers/runc.git
synced 2025-11-03 01:43:44 +08:00
@@ -19,7 +19,7 @@ func TestCaptureTestFunc(t *testing.T) {
|
||||
// the first frame is the caller
|
||||
frame := stack.Frames[0]
|
||||
if expected := "captureFunc"; frame.Function != expected {
|
||||
t.Fatalf("expected function %q but recevied %q", expected, frame.Function)
|
||||
t.Fatalf("expected function %q but received %q", expected, frame.Function)
|
||||
}
|
||||
expected := "/runc/libcontainer/stacktrace"
|
||||
if !strings.HasSuffix(frame.Package, expected) {
|
||||
|
||||
Reference in New Issue
Block a user