vendor: update all dependencies to latest versions
This commit is contained in:
+3
-2
@@ -16,9 +16,10 @@ package civil
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
)
|
||||
|
||||
func TestDates(t *testing.T) {
|
||||
@@ -418,7 +419,7 @@ func TestUnmarshalJSON(t *testing.T) {
|
||||
if err := json.Unmarshal([]byte(test.data), test.ptr); err != nil {
|
||||
t.Fatalf("%s: %v", test.data, err)
|
||||
}
|
||||
if !reflect.DeepEqual(test.ptr, test.want) {
|
||||
if !cmp.Equal(test.ptr, test.want) {
|
||||
t.Errorf("%s: got %#v, want %#v", test.data, test.ptr, test.want)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user