Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipDebugLog (0.23 sec)

  1. src/runtime/debuglog_test.go

    	return x
    }
    
    func TestDebugLog(t *testing.T) {
    	skipDebugLog(t)
    	runtime.ResetDebugLog()
    	runtime.Dlog().S("testing").End()
    	got := dlogCanonicalize(runtime.DumpDebugLog())
    	if want := "[] testing\n"; got != want {
    		t.Fatalf("want %q, got %q", want, got)
    	}
    }
    
    func TestDebugLogTypes(t *testing.T) {
    	skipDebugLog(t)
    	runtime.ResetDebugLog()
    	var varString = strings.Repeat("a", 4)
    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