Skip to content

Commit

Permalink
Correct typos in api_test.go (sashabaranov#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars authored Mar 17, 2023
1 parent a8acb5f commit 34f3a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestAPIError(t *testing.T) {
t.Fatalf("Unexpected API error code: %s", *apiErr.Code)
}
if apiErr.Error() == "" {
t.Fatal("Empty error message occured")
t.Fatal("Empty error message occurred")
}
}

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

if reqErr.Unwrap() == nil {
t.Fatalf("Empty request error occured")
t.Fatalf("Empty request error occurred")
}
}

Expand Down

0 comments on commit 34f3a11

Please sign in to comment.