From: Ciro Santilli Date: Sat, 21 Feb 2015 10:22:22 +0000 (+0100) Subject: Add test for Toc nomodifiable #170 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/dce291ccd0397c8dec8a5e980c5e206168dab508?ds=inline;hp=-c Add test for Toc nomodifiable #170 --- dce291ccd0397c8dec8a5e980c5e206168dab508 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