aboutsummaryrefslogtreecommitdiff
path: root/src/context/x_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/context/x_test.go')
-rw-r--r--src/context/x_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/x_test.go b/src/context/x_test.go
index e9b0576281..2c66ed42b2 100644
--- a/src/context/x_test.go
+++ b/src/context/x_test.go
@@ -1064,7 +1064,7 @@ func TestAfterFuncNotCalledAfterStop(t *testing.T) {
}
}
-// This test verifies that cancelling a context does not block waiting for AfterFuncs to finish.
+// This test verifies that canceling a context does not block waiting for AfterFuncs to finish.
func TestAfterFuncCalledAsynchronously(t *testing.T) {
ctx, cancel := WithCancel(Background())
donec := make(chan struct{})