1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Fix error message for Go 1.8.

This commit is contained in:
Vladimir Mihailenco
2017-01-26 16:34:09 +02:00
parent 3b87351e3f
commit 8ddd2beaee
2 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ func TestParseURL(t *testing.T) {
{
"redis://localhost/iamadatabase",
"",
0, false, errors.New("invalid redis database number: strconv.ParseInt: parsing \"iamadatabase\": invalid syntax"),
0, false, errors.New(`invalid redis database number: "iamadatabase"`),
},
}