fix new variables on left side

pull/456/head
Valery Krivchikov 2018-09-15 14:50:17 +03:00
parent 0468c97a7e
commit 1f054a77ea
1 changed files with 2 additions and 2 deletions

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)