mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
bits fix unittest.
This commit is contained in:
@@ -175,7 +175,7 @@ function! g:zencoding_unittest_complete(arglead, cmdline, cmdpos)
|
||||
endfunction
|
||||
|
||||
command! -nargs=* -complete=customlist,g:zencoding_unittest_complete ZenCodingUnitTest call s:do_tests(<f-args>)
|
||||
if expand('<sfile>') == expand('%')
|
||||
if s:sfile == expand('%:p')
|
||||
ZenCodingUnitTest
|
||||
endif
|
||||
|
||||
@@ -656,15 +656,11 @@ finish
|
||||
'name': 'expand abbreviation',
|
||||
'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",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user