1
0
mirror of https://github.com/golang/go synced 2024-09-23 11:10:12 -06:00
Change-Id: I7417c3489caaf7cbc8d1d5c522a6bdd8a119f3d6
This commit is contained in:
qiulaidongfeng 2024-09-09 16:54:44 +08:00
parent 9a8fd8508b
commit b89bf3cab7

View File

@ -1165,6 +1165,6 @@ func TestCgoToGoCallGoexit(t *testing.T) {
}
output := runTestProg(t, "testprogcgo", "CgoToGoCallGoexit")
if !strings.Contains(output, "runtime.Goexit called in a thread that was not created by the Go runtime") {
t.Fatalf("output should contain %s", "runtime.Goexit called in a thread that was not created by the Go runtime")
t.Fatalf("output should contain %s, got %s", "runtime.Goexit called in a thread that was not created by the Go runtime", output)
}
}