Skip to content

Commit 25a6a28

Browse files
committed
Actually check the value of RunTests
1 parent 6de94b0 commit 25a6a28

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sqlite3_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,10 @@ func TestSuite(t *testing.T) {
17311731
defer d.Close()
17321732

17331733
db = &TestDB{t, d, SQLITE, sync.Once{}}
1734-
testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests)
1734+
ok := testing.RunTests(func(string, string) (bool, error) { return true, nil }, tests)
1735+
if !ok {
1736+
t.Fail()
1737+
}
17351738

17361739
if !testing.Short() {
17371740
for _, b := range benchmarks {

0 commit comments

Comments
 (0)