removed quotes surrounding %q

%q is a single-quoted character literal safely escaped with Go syntax. It doesn't need additional quotes.
This commit is contained in:
Eldar Rakhimberdin 2018-01-04 15:20:49 +03:00 committed by GitHub
parent 73b70592cd
commit ea762c666e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {