diff --git a/unittest.vim b/unittest.vim index 52bdfec..4f7158d 100644 --- a/unittest.vim +++ b/unittest.vim @@ -91,6 +91,7 @@ function! s:test(...) let start = reltime() for n in range(len(tests)) if len(index) > 0 && n != index | continue | endif + if has_key(tests[n], 'ignore') && tests[n].ignore | continue | endif let query = tests[n].query let options = has_key(tests[n], 'options') ? tests[n].options : {} let result = tests[n].result @@ -539,6 +540,11 @@ finish 'query': "form.search-form._wide>input.-query-string+input:s.-btn_large|bem", 'result': "
\n\t\n\t\n
\n", }, + { + 'query': "form>fieldset>legend+(label>input[type=\"checkbox\"])*3", + 'result': "
\t
\t\t\t\t\t\t\t\t\t
", + 'ignore': 1, + }, ], }, { @@ -546,7 +552,7 @@ finish 'tests': [ { 'query': "
\n\t$$$$\\j$$$$\n
", - 'result': "
\n\t\n
", + 'result': "
\n\t\n
", }, { 'query': "
\n\tj$$$$/>\n
",