From f5c6ad10dc1e736efa642a23f9f6b2faa9c0b9be Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 6 Jun 2012 20:43:35 +0900 Subject: [PATCH] bits fix unittest. --- unittest.vim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/unittest.vim b/unittest.vim index b8e9af0..0d3fa9a 100644 --- a/unittest.vim +++ b/unittest.vim @@ -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() -if expand('') == 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': "
\n", }, { - 'name': "div.{{foo}}", 'query': "div.{{foo}}", - 'type': "mustache", 'result': "
\n", }, ],