aboutsummaryrefslogtreecommitdiff
path: root/all_test.go
diff options
context:
space:
mode:
authorJan Mercl <0xjnml@gmail.com>2017-06-13 16:01:51 +0200
committerJan Mercl <0xjnml@gmail.com>2017-06-13 16:01:51 +0200
commitfdc87f0039c9297e4abef584aa5c01ba8f186c6d (patch)
tree80b67fc972072d47e409a689bec213ca476df5f5 /all_test.go
parent11216f730451a292847505d464294ed7cf2c05c4 (diff)
all_test.go/TestIssue11: Do not panic, use t.Fatal instead. Updates #12.
modified: all_test.go
Diffstat (limited to 'all_test.go')
-rw-r--r--all_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/all_test.go b/all_test.go
index 0697a0a..3406c44 100644
--- a/all_test.go
+++ b/all_test.go
@@ -300,7 +300,7 @@ func TestIssue11(t *testing.T) {
BEGIN;
`,
); err != nil {
- panic(err)
+ t.Fatal(err)
}
for i := 0; i < N; i++ {