From 243a15689f310fe4190ee6e3bda31947eff6f466 Mon Sep 17 00:00:00 2001 From: Alexander Lokhman Date: Tue, 14 Aug 2018 14:38:18 +0100 Subject: [PATCH] Modify unit tests to cover new updates --- binding/binding_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/binding_test.go b/binding/binding_test.go index efe87669..0ccde990 100644 --- a/binding/binding_test.go +++ b/binding/binding_test.go @@ -39,8 +39,8 @@ type FooStructUseNumber struct { } type FooBarStructForTimeType struct { - TimeFoo time.Time `form:"time_foo" time_format:"2006-01-02" time_utc:"1" time_location:"Asia/Chongqing"` - TimeBar time.Time `form:"time_bar" time_format:"2006-01-02" time_utc:"1"` + TimeFoo time.Time `form:"time_foo" time_format:"2006-01-02" time_utc:"1" time_location:"Asia/Chongqing"` + TimeBar *time.Time `form:"time_bar" time_format:"2006-01-02" time_utc:"1"` } type FooStructForTimeTypeNotFormat struct {