mirror of https://github.com/go-redis/redis.git
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:
parent
73b70592cd
commit
ea762c666e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue