Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDebugLogSym (0.7 sec)

  1. src/runtime/debuglog_test.go

    		t.Fatalf("want %q, got %q", want, got)
    	}
    }
    
    func TestDebugLogSym(t *testing.T) {
    	skipDebugLog(t)
    	runtime.ResetDebugLog()
    	pc, _, _, _ := runtime.Caller(0)
    	runtime.Dlog().PC(pc).End()
    	got := dlogCanonicalize(runtime.DumpDebugLog())
    	want := regexp.MustCompile(`\[\] 0x[0-9a-f]+ \[runtime_test\.TestDebugLogSym\+0x[0-9a-f]+ .*/debuglog_test\.go:[0-9]+\]\n`)
    	if !want.MatchString(got) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 16:59:26 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top