fix new variables on left side
This commit is contained in:
+2
-2
@@ -1711,8 +1711,8 @@ func TestListenNotifySelfNotification(t *testing.T) {
|
|||||||
t.Fatalf("Unexpected error on Query: %v", rows.Err())
|
t.Fatalf("Unexpected error on Query: %v", rows.Err())
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
|
ctx, cncl := context.WithTimeout(context.Background(), time.Second)
|
||||||
defer cancel()
|
defer cncl()
|
||||||
notification, err = conn.WaitForNotification(ctx)
|
notification, err = conn.WaitForNotification(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Unexpected error on WaitForNotification: %v", err)
|
t.Fatalf("Unexpected error on WaitForNotification: %v", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user