- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestLocationRace (0.2 sec)
-
src/time/time_test.go
s := d0.String() d1, err := ParseDuration(s) if err != nil || d0 != d1 { t.Errorf("round-trip failed: %d => %q => %d, %v", d0, s, d1, err) } } } // golang.org/issue/4622 func TestLocationRace(t *testing.T) { ResetLocalOnceForTest() // reset the Once to trigger the race c := make(chan string, 1) go func() { c <- Now().String() }() _ = Now().String() <-c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0)