aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_test.go
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2018-09-25 00:01:02 +0900
committerGitHub <noreply@github.com>2018-09-25 00:01:02 +0900
commite85a2792f3166972d6619b7051f01a2df254192a (patch)
tree81ac032fb38784aaafa8d420d8a3e661c675b0e1 /sqlite3_test.go
parentMerge pull request #637 from mattn/fix-build2 (diff)
parentAdd fatal message (diff)
downloadgolite-e85a2792f3166972d6619b7051f01a2df254192a.tar.gz
golite-e85a2792f3166972d6619b7051f01a2df254192a.tar.xz
Merge pull request #641 from akalin/fix-test-call
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..b295ddd 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.Fatal("A subtest failed")
+ }
if !testing.Short() {
for _, b := range benchmarks {