Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/stack_test.go

    		if !more {
    			break
    		}
    	}
    	if countIn != 5 || countOut != 1 {
    		t.Fatalf("expected 5 calls to TracebackSystemstack and 1 call to TestTracebackSystemstack, got:%s", tb.String())
    	}
    }
    
    func TestTracebackAncestors(t *testing.T) {
    	goroutineRegex := regexp.MustCompile(`goroutine [0-9]+ \[`)
    	for _, tracebackDepth := range []int{0, 1, 5, 50} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
Back to top