Explorar o código

Merge pull request #196 from ka7/spelling

trivial spelling fixes
Gary Burd %!s(int64=9) %!d(string=hai) anos
pai
achega
085ccfa4de
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      redis/doc.go
  2. 1 1
      redis/pool_test.go

+ 1 - 1
redis/doc.go

@@ -99,7 +99,7 @@
 //
 // Concurrency
 //
-// Connections support one concurrent caller to the Recieve method and one
+// Connections support one concurrent caller to the Receive method and one
 // concurrent caller to the Send and Flush methods. No other concurrency is
 // supported including concurrent calls to the Do method.
 //

+ 1 - 1
redis/pool_test.go

@@ -576,7 +576,7 @@ func TestWaitPoolDialError(t *testing.T) {
 		t.Errorf("expected one nil error, got %d", nilCount)
 	}
 	if errCount != cap(errs)-1 {
-		t.Errorf("expected %d dial erors, got %d", cap(errs)-1, errCount)
+		t.Errorf("expected %d dial errors, got %d", cap(errs)-1, errCount)
 	}
 	d.check("done", p, cap(errs), 0)
 }