Fix remaining ``make advice`` issues.

This commit is contained in:
Matt T. Proud 2013-03-14 14:51:29 -07:00
parent a70ee43ad3
commit 582354f6de
2 changed files with 4 additions and 4 deletions

View File

@ -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)
}
}
}

View File

@ -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
}