diff --git a/middleware/websocket/websocket_test.go b/middleware/websocket/websocket_test.go index 4e32c65b..61d7d382 100644 --- a/middleware/websocket/websocket_test.go +++ b/middleware/websocket/websocket_test.go @@ -17,6 +17,6 @@ func TestBuildEnv(t *testing.T) { t.Fatal("Didn't expect an error:", err) } if len(env) == 0 { - t.Fatal("Expected non-empty environment; got %#v", env) + t.Fatalf("Expected non-empty environment; got %#v", env) } }