From 04000417716554a8abc793978e4acac61f179ec0 Mon Sep 17 00:00:00 2001 From: Slemgrim Date: Tue, 21 Nov 2017 19:15:24 +0800 Subject: [PATCH] fix wrong type for formatting --- request_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/request_test.go b/request_test.go index 8c2e519..7f58827 100644 --- a/request_test.go +++ b/request_test.go @@ -987,7 +987,7 @@ func TestUnmarshalNestedStruct(t *testing.T) { } if out.Boss.HiredAt.IsZero() { - t.Fatalf("expected out.Boss.HiredAt to be zero, but got `%d`", out.Boss.HiredAt) + t.Fatalf("expected out.Boss.HiredAt to be zero, but got `%t`", out.Boss.HiredAt.IsZero()) } }