mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
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…
x
Reference in New Issue
Block a user