go(user_test): add explicit FailNow()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ce383b5818
commit
416012f80f
@ -21,7 +21,8 @@ func TestUserExists(t *testing.T) {
|
|||||||
defer db.Close()
|
defer db.Close()
|
||||||
|
|
||||||
if err := db.Schema.Create(context.Background()); err != nil {
|
if err := db.Schema.Create(context.Background()); err != nil {
|
||||||
t.Fatalf("failed creating schema resources: %v", err)
|
t.Errorf("failed to create schema resources: %v", err)
|
||||||
|
t.FailNow()
|
||||||
}
|
}
|
||||||
|
|
||||||
username := "dude"
|
username := "dude"
|
||||||
|
Loading…
Reference in New Issue
Block a user