From 5a9482c4cda1b3c35d0f2b606f17d782ca0ce49e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 7 Mar 2016 22:09:16 +0100 Subject: [PATCH] Fix error reported by `go vet` ``` $ go vet driver_test.go:308: arg out for printf verb %t of wrong type: int exit status 1 ``` --- AUTHORS | 1 + driver_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 986f017cb..5f50b0546 100644 --- a/AUTHORS +++ b/AUTHORS @@ -16,6 +16,7 @@ Arne Hormann Carlos Nieto Chris Moos Daniel Nichter +Daniƫl van Eeden DisposaBoy Frederick Mayle Gustavo Kristic diff --git a/driver_test.go b/driver_test.go index cd2a9168e..669aeb7c1 100644 --- a/driver_test.go +++ b/driver_test.go @@ -305,7 +305,7 @@ func TestMultiQuery(t *testing.T) { if rows.Next() { rows.Scan(&out) if 5 != out { - dbt.Errorf("5 != %t", out) + dbt.Errorf("5 != %d", out) } if rows.Next() {