Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAfterQueuing (0.52 sec)

  1. src/time/sleep_test.go

    	}
    
    	t.Errorf("saw %d errors", len(errs))
    	logErrs()
    }
    
    func TestAfterQueuing(t *testing.T) {
    	t.Run("impl=chan", func(t *testing.T) {
    		testAfterQueuing(t, After)
    	})
    	t.Run("impl=func", func(t *testing.T) {
    		testAfterQueuing(t, func(d Duration) <-chan Time { return newTimerFunc(d).C })
    	})
    }
    
    func testAfterQueuing(t *testing.T, after func(Duration) <-chan Time) {
    	// This test flakes out on some systems,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top