Skip to content

Commit

Permalink
fix fmt string error in test, found by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rade committed Jun 21, 2017
1 parent c6b1146 commit a7cfd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probe/host/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}

0 comments on commit a7cfd04

Please sign in to comment.