diff options
author | mattn <mattn.jp@gmail.com> | 2018-09-25 00:01:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 00:01:02 +0900 |
commit | e85a2792f3166972d6619b7051f01a2df254192a (patch) | |
tree | 81ac032fb38784aaafa8d420d8a3e661c675b0e1 /sqlite3_test.go | |
parent | Merge pull request #637 from mattn/fix-build2 (diff) | |
parent | Add fatal message (diff) | |
download | golite-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.go | 5 |
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 { |