mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-01 23:07:40 +00:00
fix fmt string error in test, found by linter
This commit is contained in:
@@ -96,7 +96,7 @@ func TestReporter(t *testing.T) {
|
||||
} else if sample, ok := metric.LastSample(); !ok {
|
||||
t.Errorf("Expected %s metric to have a sample, but there were none", key)
|
||||
} else if sample.Value != wantSample.Value {
|
||||
t.Errorf("Expected %s metric sample %f, got %f", key, wantSample, sample.Value)
|
||||
t.Errorf("Expected %s metric sample %f, got %f", key, wantSample.Value, sample.Value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user