Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStackOverflow (0.16 sec)

  1. src/runtime/crash_test.go

    	want := "no goroutines (main called runtime.Goexit) - deadlock!"
    	if !strings.Contains(output, want) {
    		t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
    	}
    }
    
    func TestStackOverflow(t *testing.T) {
    	output := runTestProg(t, "testprog", "StackOverflow")
    	want := []string{
    		"runtime: goroutine stack exceeds 1474560-byte limit\n",
    		"fatal error: stack overflow",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top