X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/76d8fbf3cc4445bd1c0f26033d207d4b1e3966f1..ab4cb4b45de51c02566c6ebdb8d6e56215239bee:/test/toc.vader?ds=inline diff --git a/test/toc.vader b/test/toc.vader index a61e04b..5126952 100644 --- a/test/toc.vader +++ b/test/toc.vader @@ -163,3 +163,19 @@ Expect (multiple headers): atx h1 setex h2 atx h3 2 + +Execute: + :lclose + +Given markdown; +# header 1 + +## header 2 + +### header 3 + +Execute (Toc cursor on the current header): + normal! G + :Toc + AssertEqual line('.'), 3 + :lclose