فهرست منبع

Merge pull request #196 from ka7/spelling

trivial spelling fixes
Gary Burd 9 سال پیش
والد
کامیت
085ccfa4de
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      redis/doc.go
  2. 1 1
      redis/pool_test.go

+ 1 - 1
redis/doc.go

@@ -99,7 +99,7 @@
 //
 //
 // Concurrency
 // 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
 // concurrent caller to the Send and Flush methods. No other concurrency is
 // supported including concurrent calls to the Do method.
 // 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)
 		t.Errorf("expected one nil error, got %d", nilCount)
 	}
 	}
 	if errCount != cap(errs)-1 {
 	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)
 	d.check("done", p, cap(errs), 0)
 }
 }