diff options
author | Frederick Akalin <akalin@gmail.com> | 2018-09-22 11:19:09 -0700 |
---|---|---|
committer | Frederick Akalin <akalin@gmail.com> | 2018-09-22 11:26:08 -0700 |
commit | 25a6a28602f7ccd25544debe9ebafe5db8f543ce (patch) | |
tree | 5461d84fba516389ac16c72402aea6606d3b6fdc /sqlite3_test.go | |
parent | Merge pull request #637 from mattn/fix-build2 (diff) | |
download | golite-25a6a28602f7ccd25544debe9ebafe5db8f543ce.tar.gz golite-25a6a28602f7ccd25544debe9ebafe5db8f543ce.tar.xz |
Actually check the value of RunTests
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r-- | sqlite3_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |