PMM-1905: fix "NToReturn value must be non-negative" issue.

This commit is contained in:
Kamil Dziedzic
2018-02-12 21:58:48 +01:00
parent 5ad0566a87
commit b53d67f6ea
297 changed files with 1761 additions and 1043 deletions

View File

@@ -275,9 +275,9 @@ func TestAvailableMetrics(t *testing.T) {
versions := []string{
"2.6.12",
"3.0.15",
"3.2.16",
"3.4.7",
"3.5.11",
"3.2.19",
"3.4.12",
"3.6.2",
}
samples := []string{
@@ -345,7 +345,6 @@ func TestAvailableMetrics(t *testing.T) {
if !reflect.DeepEqual(got, expect) {
t.Errorf("s.Queries() = %#v, want %#v", got, expect)
}
})
t.Run("cmd_metric", func(t *testing.T) {