From 097e2c0a8a759819dde3c9b169058b2fb55b0de3 Mon Sep 17 00:00:00 2001 From: Emmanuel Odeke Date: Sun, 1 May 2016 17:18:18 -0600 Subject: [PATCH] net/http: fix typo in comment in main_test Change-Id: I22d4b5a0d5c146a65d4ef77a32e23f7780ba1d95 Reviewed-on: https://go-review.googlesource.com/22684 Reviewed-by: Brad Fitzpatrick --- src/net/http/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.50.0