Fix remaining ``make advice`` issues.
This commit is contained in:
parent
a70ee43ad3
commit
582354f6de
|
@ -1271,7 +1271,7 @@ func TestGetValuesAtTimeOp(t *testing.T) {
|
||||||
}
|
}
|
||||||
for j, out := range scenario.out {
|
for j, out := range scenario.out {
|
||||||
if out != actual[j] {
|
if out != actual[j] {
|
||||||
t.Fatal("%d. expected output %v, got %v", i, scenario.out, actual)
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1472,7 +1472,7 @@ func TestGetValuesAtIntervalOp(t *testing.T) {
|
||||||
}
|
}
|
||||||
for j, out := range scenario.out {
|
for j, out := range scenario.out {
|
||||||
if out != actual[j] {
|
if out != actual[j] {
|
||||||
t.Fatal("%d. expected output %v, got %v", i, scenario.out, actual)
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1648,7 +1648,7 @@ func TestGetValuesAlongRangeOp(t *testing.T) {
|
||||||
}
|
}
|
||||||
for j, out := range scenario.out {
|
for j, out := range scenario.out {
|
||||||
if out != actual[j] {
|
if out != actual[j] {
|
||||||
t.Fatal("%d. expected output %v, got %v", i, scenario.out, actual)
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,7 +156,7 @@ func AppendSampleAsSparseAppendWithReadsTests(p MetricPersistence, t test.Tester
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(fingerprints) != 1 {
|
if len(fingerprints) != 1 {
|
||||||
t.Error("expected fingerprint count of %d, got %d", 1, len(fingerprints))
|
t.Errorf("expected fingerprint count of %d, got %d", 1, len(fingerprints))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue