X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1462465bc2830e20f4644870a99fc626719bfcdb..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