X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8f2eaa4169d8e15d69c30ce01b7065fc8259ae9d..0da5ba9d719b818909d85bacdad2ce5d860c9e94:/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