X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5b201ad45474cb0363118682efa7e9a414d5e106..dce291ccd0397c8dec8a5e980c5e206168dab508:/test/map.vader diff --git a/test/map.vader b/test/map.vader index 0153269..6cf0cee 100644 --- a/test/map.vader +++ b/test/map.vader @@ -60,3 +60,16 @@ Execute (]c): AssertEqual line('.'), 3 normal ]c AssertEqual line('.'), 1 + +Given mkd; +# a + +Execute (Toc does not set nomodifiable on other files): + " Sanity check. + Assert &modifiable + + :Toc + :lclose + :edit a + + Assert &modifiable