mirror of https://github.com/golang/go.git
go fmt
This commit is contained in:
parent
0f669d8918
commit
2002b65728
|
|
@ -1441,10 +1441,10 @@ func TestParseErrors(t *testing.T) {
|
|||
{"mysql://x@y(z:123)/foo", true}, // not well-formed per RFC 3986, golang.org/issue/33646
|
||||
{"mysql://x@y(1.2.3.4:123)/foo", true},
|
||||
|
||||
{" http://foo.com", true}, // invalid character in schema
|
||||
{"ht tp://foo.com", true}, // invalid character in schema
|
||||
{"ahttp://foo.com", false}, // valid schema characters
|
||||
{"1http://foo.com", true}, // invalid character in schema
|
||||
{" http://foo.com", true}, // invalid character in schema
|
||||
{"ht tp://foo.com", true}, // invalid character in schema
|
||||
{"ahttp://foo.com", false}, // valid schema characters
|
||||
{"1http://foo.com", true}, // invalid character in schema
|
||||
|
||||
{"http://[]%20%48%54%54%50%2f%31%2e%31%0a%4d%79%48%65%61%64%65%72%3a%20%31%32%33%0a%0a/", true}, // golang.org/issue/11208
|
||||
{"http://a b.com/", true}, // no space in host name please
|
||||
|
|
|
|||
Loading…
Reference in New Issue