From 6c3a73903144fc234919aef74bf4dd7908b80182 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