[enh] add anchor url parse test

git-svn-id: file:///srv/svn/repo/yukari/trunk@55 f3bd38d9-da89-464d-a02a-eb04e43141b5
This commit is contained in:
asciimoo 2016-11-30 00:19:16 +00:00
parent 4ac0f9cfd7
commit 0b4c173193

View File

@ -49,6 +49,10 @@ var urlTestData []*StringTestCase = []*StringTestCase{
"http://a@x.com/", "http://a@x.com/",
"./?mortyurl=http%3A%2F%2Fa%40x.com%2F", "./?mortyurl=http%3A%2F%2Fa%40x.com%2F",
}, },
&StringTestCase{
"#a",
"#a",
},
} }
func TestAttrSanitizer(t *testing.T) { func TestAttrSanitizer(t *testing.T) {