Skip to content

Commit 34f3a11

Browse files
authored
Correct typos in api_test.go (#172)
1 parent a8acb5f commit 34f3a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func TestAPIError(t *testing.T) {
142142
t.Fatalf("Unexpected API error code: %s", *apiErr.Code)
143143
}
144144
if apiErr.Error() == "" {
145-
t.Fatal("Empty error message occured")
145+
t.Fatal("Empty error message occurred")
146146
}
147147
}
148148

@@ -168,7 +168,7 @@ func TestRequestError(t *testing.T) {
168168
}
169169

170170
if reqErr.Unwrap() == nil {
171-
t.Fatalf("Empty request error occured")
171+
t.Fatalf("Empty request error occurred")
172172
}
173173
}
174174

0 commit comments

Comments
 (0)