aboutsummaryrefslogtreecommitdiff
path: root/src/os/timeout_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/timeout_test.go')
-rw-r--r--src/os/timeout_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/timeout_test.go b/src/os/timeout_test.go
index 4720738d24..5d7ea7ea29 100644
--- a/src/os/timeout_test.go
+++ b/src/os/timeout_test.go
@@ -514,7 +514,7 @@ func TestReadWriteDeadlineRace(t *testing.T) {
}
// TestRacyRead tests that it is safe to mutate the input Read buffer
-// immediately after cancelation has occurred.
+// immediately after cancellation has occurred.
func TestRacyRead(t *testing.T) {
t.Parallel()
@@ -553,7 +553,7 @@ func TestRacyRead(t *testing.T) {
}
// TestRacyWrite tests that it is safe to mutate the input Write buffer
-// immediately after cancelation has occurred.
+// immediately after cancellation has occurred.
func TestRacyWrite(t *testing.T) {
t.Parallel()