Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCatchPanic (0.09 sec)

  1. src/runtime/crash_cgo_test.go

    	}
    	t.Parallel()
    	got := runTestProg(t, "testprogcgo", "NumGoroutine")
    	want := "OK\n"
    	if got != want {
    		t.Errorf("expected %q got %v", want, got)
    	}
    }
    
    func TestCatchPanic(t *testing.T) {
    	t.Parallel()
    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("no signals on %s", runtime.GOOS)
    	case "darwin":
    		if runtime.GOARCH == "amd64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
Back to top