diff options
Diffstat (limited to 'src/testdir/test_textobjects.vim')
-rw-r--r-- | src/testdir/test_textobjects.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test_textobjects.vim b/src/testdir/test_textobjects.vim index 54de3f89dc..c691c8be68 100644 --- a/src/testdir/test_textobjects.vim +++ b/src/testdir/test_textobjects.vim @@ -169,6 +169,18 @@ func Test_string_html_objects() normal! k$vaty call assert_equal("<html>\n<title>welcome\n</html>", @") + " nested tag that has < in a different line from > + let t = "<div><div\n></div></div>" + $put =t + normal! k0vaty + call assert_equal("<div><div\n></div></div>", @") + + " nested tag with attribute that has < in a different line from > + let t = "<div><div\nattr=\"attr\"\n></div></div>" + $put =t + normal! 2k0vaty + call assert_equal("<div><div\nattr=\"attr\"\n></div></div>", @") + set quoteescape& enew! endfunc |