X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/8f2eaa4169d8e15d69c30ce01b7065fc8259ae9d..a0ef80e296de45f1a9ce5794bffb80fe79efc3ac:/test/map.vader?ds=inline 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