From c9e4c041b36157d127665c5813a30a787715cd19 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Wed, 19 Jul 2017 11:53:18 -0700 Subject: [PATCH] Too lazy to remember the right formatter for floats --- command/agent/agent_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent_test.go b/command/agent/agent_test.go index b7af086f2..75ebf286e 100644 --- a/command/agent/agent_test.go +++ b/command/agent/agent_test.go @@ -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