From a872ff2d77a58673e124e19357e067278adf192c Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Sun, 3 May 2015 19:43:04 +0200 Subject: [PATCH] config: format string fixes from vet --- config/parser_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/parser_test.go b/config/parser_test.go index 3322356b9..7502c317e 100644 --- a/config/parser_test.go +++ b/config/parser_test.go @@ -318,13 +318,13 @@ func TestParserLocationContext(t *testing.T) { } if p.other[0].path != "/" { - t.Fatalf("Expected first path scope to be default '/', but got %d: %#v", p.other[0].path, p.other) + t.Fatalf("Expected first path scope to be default '/', but got %v: %#v", p.other[0].path, p.other) } if p.other[1].path != "/scope" { - t.Fatalf("Expected first path scope to be '/scope', but got %d: %#v", p.other[0].path, p.other) + t.Fatalf("Expected first path scope to be '/scope', but got %v: %#v", p.other[0].path, p.other) } if dir, ok := p.other[1].directives["gzip"]; !ok { - t.Fatalf("Expected scoped directive to be gzip, but got %d: %#v", dir, p.other[1].directives) + t.Fatalf("Expected scoped directive to be gzip, but got %v: %#v", dir, p.other[1].directives) } }