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', 'category': 'mustache',
'tests': [ 'tests': [
{ {
'name': "div#{{foo}}", 'name': "div#{{foo}}",
'query': "div#{{foo}}", 'query': "div#{{foo}}",
'type': "mustache", 'type': "mustache",
'result': "<div id=\"{{foo}}\"></div>\n", 'result': "<div id=\"{{foo}}\"></div>\n",
}, },
{
'name': "div.{{foo}}",
'query': "div.{{foo}}",
'type': "mustache",
'result': "<div class=\"{{foo}}\"></div>\n",
},
], ],
}, },
] ]