From: Hiroshi Shirosaki Date: Wed, 13 Jan 2016 04:52:18 +0000 (+0900) Subject: Remove needless + from setext-style headers tests X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e5bbd260fac44e41a3404495301dc5cceb04addb?ds=sidebyside;hp=917624e16c47de87c2adcacd08bc9472f718ec12 Remove needless + from setext-style headers tests --- diff --git a/test/folding.vader b/test/folding.vader index ee20975..adcae5f 100644 --- a/test/folding.vader +++ b/test/folding.vader @@ -28,11 +28,11 @@ Execute (fold level # in code block): AssertEqual foldlevel(12), 2, 'foobar' Given markdown; - -==+ Fold Level 1 - ---+ Fold Level 2 - -Execute (fold level ==+, --+): - AssertEqual foldlevel(2), 1, '==+' - AssertEqual foldlevel(4), 2, '--+' +Fold Level 1 +============ +Fold Level 2 +------------ + +Execute (fold level ==, --): + AssertEqual foldlevel(2), 1, '==' + AssertEqual foldlevel(4), 2, '--' diff --git a/test/python-folding.vader b/test/python-folding.vader index 43f8085..b9e1dd0 100644 --- a/test/python-folding.vader +++ b/test/python-folding.vader @@ -34,15 +34,15 @@ Execute (fold text of chapters): Given markdown; Fold text 1 -==+ Fold Level 1 +=========== Fold text 2 ---+ Fold Level 2 +----------- -Execute (fold level ==+, --+): - AssertEqual foldlevel(2), 0, '==+' - AssertEqual foldlevel(4), 1, '--+' +Execute (fold level ==, --): + AssertEqual foldlevel(2), 0, '==' + AssertEqual foldlevel(4), 1, '--' -Execute (fold text of ==+, --+): +Execute (fold text of ==, --): AssertEqual foldtextresult(3), 'Fold text 2 ' . repeat('-', winwidth(0) - 17) . ' 1' Given markdown;