add test for multiple classes.

This commit is contained in:
mattn
2010-03-11 02:35:48 +09:00
parent e77872ec0b
commit f7d32c0987

View File

@@ -248,6 +248,12 @@ finish
'type': "html",
'result': "<div id=\"box1\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n<div id=\"box2\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n<div id=\"box3\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n"
},
{
'name': "div#box.foo$$$.bar$$$",
'query': "div#box$*3>h3+p*2",
'type': "html",
'result': "<div id=\"box1\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n<div id=\"box2\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n<div id=\"box3\">\n\t<h3></h3>\n\t<p></p>\n\t<p></p>\n</div>\n"
},
{
'name': "div#box$*3>h3+p.bar*2|e",
'query': "div#box$*3>h3+p.bar*2|e",