]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typo in comment in main_test
authorEmmanuel Odeke <emm.odeke@gmail.com>
Sun, 1 May 2016 23:18:18 +0000 (17:18 -0600)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 2 May 2016 21:02:54 +0000 (21:02 +0000)
Change-Id: I22d4b5a0d5c146a65d4ef77a32e23f7780ba1d95
Reviewed-on: https://go-review.googlesource.com/22684
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/main_test.go

index d10fd89b54d35dbf9805252fe70ffde3356da7c7..aea6e12744bc3b750478c223d256410101cc5bfd 100644 (file)
@@ -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) {