Skip to content

Commit

Permalink
test windows issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Karn committed Oct 17, 2020
1 parent 8092220 commit 361679a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator_test.go
Expand Up @@ -1789,7 +1789,7 @@ func TestCrossStructEqFieldValidation(t *testing.T) {
errs = validate.Struct(test)
Equal(t, errs, nil)

newTime := time.Now().UTC()
newTime := time.Now().Add(time.Hour).UTC()
test.CreatedAt = &newTime

errs = validate.Struct(test)
Expand Down

0 comments on commit 361679a

Please sign in to comment.