From 19bfe93ef3d40bae1e06c8a233cac1fc93453b3c Mon Sep 17 00:00:00 2001 From: Tinmarino Date: Tue, 21 Jul 2020 15:10:27 -0400 Subject: [PATCH] Test: Table should not change tw --- test/table_autoformat.vader | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/table_autoformat.vader b/test/table_autoformat.vader index 155d664..2080d4d 100644 --- a/test/table_autoformat.vader +++ b/test/table_autoformat.vader @@ -1,6 +1,24 @@ Include: vader_includes/vader_setup.vader +# Do not alter config {{{1 +########################## +Given vimwiki (Table Head \#891): + | foo | bar | + +Execute (set tw=71): + set tw=71 + AssertEqual &tw, 71 + +Do (A): + A\\ + +Expect (Table Head \#891): + | foo | bar | + | | | + +Execute (Assert tw=71): + AssertEqual &tw, 71 # Autoformat {{{1 #################