We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0fed8 commit 3f451f2Copy full SHA for 3f451f2
src/testing/synctest/example_test.go
@@ -66,7 +66,7 @@ func TestContextAfterFunc(t *testing.T) {
66
cancel()
67
synctest.Wait()
68
if !afterFuncCalled {
69
- t.Fatalf("before context is canceled: AfterFunc not called")
+ t.Fatalf("after context is canceled: AfterFunc not called")
70
}
71
})
72
src/testing/synctest/synctest.go
@@ -147,7 +147,7 @@
147
// cancel()
148
// synctest.Wait()
149
// if !afterFuncCalled {
150
-// t.Fatalf("before context is canceled: AfterFunc not called")
+// t.Fatalf("after context is canceled: AfterFunc not called")
151
// }
152
// })
153
0 commit comments