diff --git a/src/net/http/main_test.go b/src/net/http/main_test.go index d10fd89b54..aea6e12744 100644 --- a/src/net/http/main_test.go +++ b/src/net/http/main_test.go @@ -123,7 +123,7 @@ func afterTest(t testing.TB) { // waitCondition reports whether fn eventually returned true, // checking immediately and then every checkEvery amount, -// until waitFor has elpased, at which point it returns false. +// until waitFor has elapsed, at which point it returns false. func waitCondition(waitFor, checkEvery time.Duration, fn func() bool) bool { deadline := time.Now().Add(waitFor) for time.Now().Before(deadline) {