add test for .content{Hello!}

This commit is contained in:
mattn
2011-01-06 11:16:55 +09:00
parent 96e256df37
commit cda02374cd

View File

@@ -413,6 +413,12 @@ finish
'type': "html",
'result': "<div>\n\t<a id=\"foo\" href=\"\">bar</a>\n</div>\n",
},
{
'name': ".content{Hello!}",
'query': ".content{Hello!}",
'type': "html",
'result': "<div class=\"content\">Hello!</div>\n",
},
],
},
{
@@ -465,6 +471,12 @@ finish
'type': "haml",
'result': "%a{ :href => \"\" }\n%a{ :href => \"\" }\n%a{ :href => \"\" }\n",
},
{
'name': ".content{Hello!}|haml",
'query': ".content{Hello!}|haml",
'type': "haml",
'result': "%div.content Hello!\n",
},
],
},
{