Skip to content

Commit ccdb373

Browse files
fix(test): return early after test failure (#70)
1 parent e38ee3a commit ccdb373

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func TestUsage(t *testing.T) {
2727
user, err := client.Users.Get(context.TODO())
2828
if err != nil {
2929
t.Error(err)
30+
return
3031
}
3132
t.Logf("%+v\n", user.Data)
3233
}

0 commit comments

Comments
 (0)