mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
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 {
|
||||
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 {
|
||||
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 {
|
||||
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
|
||||
}
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue