aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
authorFrederick Akalin <akalin@gmail.com>2018-09-22 11:19:09 -0700
committerFrederick Akalin <akalin@gmail.com>2018-09-22 11:26:08 -0700
commit25a6a28602f7ccd25544debe9ebafe5db8f543ce (patch)
tree5461d84fba516389ac16c72402aea6606d3b6fdc /sqlite3_test.go
parentMerge pull request #637 from mattn/fix-build2 (diff)
downloadgolite-25a6a28602f7ccd25544debe9ebafe5db8f543ce.tar.gz
golite-25a6a28602f7ccd25544debe9ebafe5db8f543ce.tar.xz
Actually check the value of RunTests
Diffstat (limited to 'sqlite3_test.go')
-rw-r--r--sqlite3_test.go5
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 {