mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 17:21:42 +00:00
Fixed vet issues
This commit is contained in:
@@ -214,7 +214,7 @@ func TestStatsSingle(t *testing.T) {
|
|||||||
t.Fatalf("cannot load expected data %s: %s", dirExpect+f, err)
|
t.Fatalf("cannot load expected data %s: %s", dirExpect+f, err)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(got, expect) {
|
if !reflect.DeepEqual(got, expect) {
|
||||||
t.Errorf("s.Queries() = %s, want %s", got, expect)
|
t.Errorf("s.Queries() = %v, want %v", got, expect)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -261,7 +261,7 @@ func TestStatsAll(t *testing.T) {
|
|||||||
t.Fatalf("cannot load expected data %s: %s", f, err)
|
t.Fatalf("cannot load expected data %s: %s", f, err)
|
||||||
}
|
}
|
||||||
if !reflect.DeepEqual(got, expect) {
|
if !reflect.DeepEqual(got, expect) {
|
||||||
t.Errorf("s.Queries() = %s, want %s", got, expect)
|
t.Errorf("s.Queries() = %v, want %v", got, expect)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -343,7 +343,7 @@ func TestAvailableMetrics(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !reflect.DeepEqual(got, expect) {
|
if !reflect.DeepEqual(got, expect) {
|
||||||
t.Errorf("s.Queries() = %s, want %s", got, expect)
|
t.Errorf("s.Queries() = %v, want %v", got, expect)
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user