Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
usk81 committed Jan 2, 2018
1 parent d1e5f50 commit 3c130ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion type_time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 3c130ea

Please sign in to comment.