2
0

fix new variables on left side

This commit is contained in:
Valery Krivchikov
2018-09-15 14:50:17 +03:00
parent 0468c97a7e
commit 1f054a77ea
+2 -2
View File
@@ -1711,8 +1711,8 @@ func TestListenNotifySelfNotification(t *testing.T) {
t.Fatalf("Unexpected error on Query: %v", rows.Err())
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
ctx, cncl := context.WithTimeout(context.Background(), time.Second)
defer cncl()
notification, err = conn.WaitForNotification(ctx)
if err != nil {
t.Fatalf("Unexpected error on WaitForNotification: %v", err)