summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/lib/pq/notify_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/lib/pq/notify_test.go')
-rw-r--r--vendor/github.com/lib/pq/notify_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/lib/pq/notify_test.go b/vendor/github.com/lib/pq/notify_test.go
index 82a77e1eb..075666ddb 100644
--- a/vendor/github.com/lib/pq/notify_test.go
+++ b/vendor/github.com/lib/pq/notify_test.go
@@ -123,6 +123,9 @@ func TestConnUnlisten(t *testing.T) {
}
_, err = db.Exec("NOTIFY notify_test")
+ if err != nil {
+ t.Fatal(err)
+ }
err = expectNotification(t, channel, "notify_test", "")
if err != nil {
@@ -159,6 +162,9 @@ func TestConnUnlistenAll(t *testing.T) {
}
_, err = db.Exec("NOTIFY notify_test")
+ if err != nil {
+ t.Fatal(err)
+ }
err = expectNotification(t, channel, "notify_test", "")
if err != nil {