Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCgoTracebackContext (0.18 sec)

  1. src/runtime/crash_cgo_test.go

    	for i := 1; i <= 3; i++ {
    		want := fmt.Sprintf("main.h%d", i)
    		if !strings.Contains(got, want) {
    			t.Errorf("missing %s", want)
    		}
    	}
    }
    
    func TestCgoTracebackContext(t *testing.T) {
    	t.Parallel()
    	got := runTestProg(t, "testprogcgo", "TracebackContext")
    	want := "OK\n"
    	if got != want {
    		t.Errorf("expected %q got %v", want, got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top