From ea762c666ed8ad9c930caaaa4cf516025d10c5f9 Mon Sep 17 00:00:00 2001 From: Eldar Rakhimberdin Date: Thu, 4 Jan 2018 15:20:49 +0300 Subject: [PATCH] removed quotes surrounding %q %q is a single-quoted character literal safely escaped with Go syntax. It doesn't need additional quotes. --- options_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options_test.go b/options_test.go index 6a4af71..211f6b1 100644 --- a/options_test.go +++ b/options_test.go @@ -71,7 +71,7 @@ func TestParseURL(t *testing.T) { t.Run(c.u, func(t *testing.T) { o, err := ParseURL(c.u) if c.err == nil && err != nil { - t.Fatalf("unexpected error: '%q'", err) + t.Fatalf("unexpected error: %q", err) return } if c.err != nil && err != nil {