vendor: update all dependencies to latest versions
This commit is contained in:
+4
-5
@@ -16,7 +16,6 @@ package logadmin
|
||||
|
||||
import (
|
||||
"log"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -64,7 +63,7 @@ func TestCreateDeleteMetric(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if want := metric; !reflect.DeepEqual(got, want) {
|
||||
if want := metric; !testutil.Equal(got, want) {
|
||||
t.Errorf("got %+v, want %+v", got, want)
|
||||
}
|
||||
|
||||
@@ -94,7 +93,7 @@ func TestUpdateMetric(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if want := metric; !reflect.DeepEqual(got, want) {
|
||||
if want := metric; !testutil.Equal(got, want) {
|
||||
t.Errorf("got %+v, want %+v", got, want)
|
||||
}
|
||||
|
||||
@@ -107,7 +106,7 @@ func TestUpdateMetric(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if want := metric; !reflect.DeepEqual(got, want) {
|
||||
if want := metric; !testutil.Equal(got, want) {
|
||||
t.Errorf("got %+v, want %+v", got, want)
|
||||
}
|
||||
}
|
||||
@@ -149,7 +148,7 @@ func TestListMetrics(t *testing.T) {
|
||||
got[m.ID] = m
|
||||
}
|
||||
}
|
||||
if !reflect.DeepEqual(got, want) {
|
||||
if !testutil.Equal(got, want) {
|
||||
t.Errorf("got %+v, want %+v", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user