add unittest for mustache in tag class

This commit is contained in:
Daniel Schauenberg
2010-06-12 02:03:02 +02:00
parent e6bdb86c2f
commit 748e969191

View File

@@ -403,12 +403,18 @@ finish
{
'category': 'mustache',
'tests': [
{
{
'name': "div#{{foo}}",
'query': "div#{{foo}}",
'type': "mustache",
'result': "<div id=\"{{foo}}\"></div>\n",
},
},
{
'name': "div.{{foo}}",
'query': "div.{{foo}}",
'type': "mustache",
'result': "<div class=\"{{foo}}\"></div>\n",
},
],
},
]