forked from VimPlug/emmet-vim
add test for .content{Hello!}
This commit is contained in:
12
unittest.vim
12
unittest.vim
@@ -413,6 +413,12 @@ finish
|
|||||||
'type': "html",
|
'type': "html",
|
||||||
'result': "<div>\n\t<a id=\"foo\" href=\"\">bar</a>\n</div>\n",
|
'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",
|
'type': "haml",
|
||||||
'result': "%a{ :href => \"\" }\n%a{ :href => \"\" }\n%a{ :href => \"\" }\n",
|
'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",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user