diff options
Diffstat (limited to 'src/pkg/http/url_test.go')
-rw-r--r-- | src/pkg/http/url_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pkg/http/url_test.go b/src/pkg/http/url_test.go index ea05ed3e8..51d0283fe 100644 --- a/src/pkg/http/url_test.go +++ b/src/pkg/http/url_test.go @@ -281,27 +281,27 @@ var unescapeTests = []URLEscapeTest { URLEscapeTest{ "%", // not enough characters after % "", - BadURL{"invalid hexadecimal escape"} + URLEscapeError("%"), }, URLEscapeTest{ "%a", // not enough characters after % "", - BadURL{"invalid hexadecimal escape"} + URLEscapeError("%a"), }, URLEscapeTest{ "%1", // not enough characters after % "", - BadURL{"invalid hexadecimal escape"} + URLEscapeError("%1"), }, URLEscapeTest{ "123%45%6", // not enough characters after % "", - BadURL{"invalid hexadecimal escape"} + URLEscapeError("%6"), }, URLEscapeTest{ - "%zz", // invalid hex digits + "%zzzzz", // invalid hex digits "", - BadURL{"invalid hexadecimal escape"} + URLEscapeError("%zz"), }, } |