Fix the several typos detected by github.com/client9/misspell

Signed-off-by: Kazuhiro Sera <seratch@gmail.com>
This commit is contained in:
Kazuhiro Sera
2018-08-09 00:45:00 +09:00
parent f57f260b49
commit 1e49fdcafc
10 changed files with 12 additions and 12 deletions

View File

@@ -26,11 +26,11 @@ func TestNotFound(t *testing.T) {
func TestConflict(t *testing.T) {
if IsConflict(errTest) {
t.Fatalf("did not expect conflcit error, got %T", errTest)
t.Fatalf("did not expect conflict error, got %T", errTest)
}
e := Conflict(errTest)
if !IsConflict(e) {
t.Fatalf("expected conflcit error, got: %T", e)
t.Fatalf("expected conflict error, got: %T", e)
}
if cause := e.(causal).Cause(); cause != errTest {
t.Fatalf("causual should be errTest, got: %v", cause)