From 3c130eae878c17f3a329abe0160032738cebe86b Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Wed, 3 Jan 2018 02:16:31 +0900 Subject: [PATCH] fix test --- type_time_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type_time_test.go b/type_time_test.go index 534e6c7..ec85cda 100644 --- a/type_time_test.go +++ b/type_time_test.go @@ -47,7 +47,7 @@ func TestTimeJsonUnmarshal(t *testing.T) { if !tt.Valid() { t.Error("ValidFlag should be TRUE") } - if tt.Time() != v { + if tt.Time().String() != v.String() { t.Errorf("actual:%v, expected:%v", tt.Time(), v) } }