From 67df4729debb766aea86f0964c6827bfd72bbf1d Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sat, 21 Feb 2015 11:22:22 +0100 Subject: [PATCH] Add test for Toc nomodifiable --- test/map.vader | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/map.vader b/test/map.vader index 0153269e..47348692 100644 --- a/test/map.vader +++ b/test/map.vader @@ -60,3 +60,14 @@ 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 + normal! :Toc + normal! :lclose + normal! :edit newaiudhaudh + Assert &modifiable