Add fatal message

This commit is contained in:
Frederick Akalin 2018-09-22 11:50:52 -07:00
parent 25a6a28602
commit 3955886e38
1 changed files with 1 additions and 1 deletions

View File

@ -1733,7 +1733,7 @@ func TestSuite(t *testing.T) {
db = &TestDB{t, d, SQLITE, sync.Once{}} db = &TestDB{t, d, SQLITE, sync.Once{}}
ok := testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests) ok := testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests)
if !ok { if !ok {
t.Fail() t.Fatal("A subtest failed")
} }
if !testing.Short() { if !testing.Short() {