forked from mirror/go-sqlite3
Add fatal message
This commit is contained in:
parent
25a6a28602
commit
3955886e38
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue