From dce291ccd0397c8dec8a5e980c5e206168dab508 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 #170 --- test/map.vader | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.39.5