Too lazy to remember the right formatter for floats

This commit is contained in:
Michael Schurter 2017-07-19 11:53:18 -07:00
parent 5fe5547b15
commit c9e4c041b3
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ func TestAgent_ServerConfig(t *testing.T) {
conf.Server.MaxHeartbeatsPerSecond = 11.0
out, err = a.serverConfig()
if max := out.MaxHeartbeatsPerSecond; max != 11.0 {
t.Fatalf("expect 11, got: %s", max)
t.Fatalf("expect 11, got: %v", max)
}
// Defaults to the global bind addr