Skip to content

Commit a69acf2

Browse files
committed
changing auth error message on status code failure
1 parent b1816e0 commit a69acf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestToken(t *testing.T) {
4444
}
4545

4646
if resp.StatusCode != 200 {
47-
t.Fatal(resp.StatusCode)
47+
t.Fatal(resp.Status)
4848
}
4949

5050
body, err := ioutil.ReadAll(resp.Body)

0 commit comments

Comments
 (0)