Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLoadFixed (0.11 sec)

  1. src/time/time_test.go

    	for _, mt := range mallocTest {
    		allocs := int(testing.AllocsPerRun(100, mt.fn))
    		if allocs > mt.count {
    			t.Errorf("%s: %d allocs, want %d", mt.desc, allocs, mt.count)
    		}
    	}
    }
    
    func TestLoadFixed(t *testing.T) {
    	// Issue 4064: handle locations without any zone transitions.
    	loc, err := LoadLocation("Etc/GMT+1")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top