From 25a6a28602f7ccd25544debe9ebafe5db8f543ce Mon Sep 17 00:00:00 2001 From: Frederick Akalin Date: Sat, 22 Sep 2018 11:19:09 -0700 Subject: [PATCH] Actually check the value of RunTests --- sqlite3_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sqlite3_test.go b/sqlite3_test.go index bfed027..a91381a 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -1731,7 +1731,10 @@ func TestSuite(t *testing.T) { defer d.Close() db = &TestDB{t, d, SQLITE, sync.Once{}} - 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 { + t.Fail() + } if !testing.Short() { for _, b := range benchmarks {