- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCustomContextAfterFuncUnregisterTimeout (0.25 sec)
-
src/context/afterfunc_test.go
} cancel1() cancel2() if got, want := len(ctx0.afterFuncs), 0; got != want { t.Errorf("after canceling WithCancel(ctx0): ctx0 has %v afterFuncs, want %v", got, want) } } func TestCustomContextAfterFuncUnregisterTimeout(t *testing.T) { ctx0 := &afterFuncContext{} _, cancel := context.WithTimeout(ctx0, veryLongDuration) if got, want := len(ctx0.afterFuncs), 1; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:58:52 UTC 2023 - 3.4K bytes - Viewed (0)