forked from VimPlug/emmet-vim
fix issue of text nodes. close #64
This commit is contained in:
22
unittest.vim
22
unittest.vim
@@ -88,18 +88,20 @@ function! s:testMoveNextPrev()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
let oldmore = &more
|
||||
let &more = 0
|
||||
|
||||
call s:testExpandAbbr()
|
||||
call s:testImageSize()
|
||||
call s:testMoveNextPrev()
|
||||
try
|
||||
let oldmore = &more
|
||||
let &more = 0
|
||||
call s:testExpandAbbr()
|
||||
call s:testImageSize()
|
||||
call s:testMoveNextPrev()
|
||||
finally
|
||||
let &more=oldmore
|
||||
endtry
|
||||
|
||||
if exists('g:user_zen_settings')
|
||||
let g:user_zen_settings = s:old_user_zen_settings
|
||||
endif
|
||||
|
||||
let &more=oldmore
|
||||
echo "done"
|
||||
|
||||
finish
|
||||
@@ -425,6 +427,12 @@ finish
|
||||
'type': "html",
|
||||
'result': "<div class=\"logo\"></div>\n<div id=\"navigation\"></div>\n<div id=\"links\"></div>\n",
|
||||
},
|
||||
{
|
||||
'name': "h1{header}+{Text}+a[href=http://link.org]{linktext}+{again some text}+a[href=http://anoterlink.org]{click me!}+{some final text}",
|
||||
'query': "h1{header}+{Text}+a[href=http://link.org]{linktext}+{again some text}+a[href=http://anoterlink.org]{click me!}+{some final text}",
|
||||
'type': "html",
|
||||
'result': "<h1>header</h1>\nText<a href=\"http://link.org\">linktext</a>\nagain some text<a href=\"http://anoterlink.org\">click me!</a>\nsome final text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user