From 34f3a118df332077d3c72ce30d86bcfa6b80a953 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 18 Mar 2023 02:58:34 +0800 Subject: [PATCH] Correct typos in api_test.go (#172) --- api_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api_test.go b/api_test.go index 202ec94..a5a0d12 100644 --- a/api_test.go +++ b/api_test.go @@ -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") } } @@ -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") } }