From e5bbd260fac44e41a3404495301dc5cceb04addb Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Wed, 13 Jan 2016 13:52:18 +0900 Subject: [PATCH 1/1] Remove needless + from setext-style headers tests --- test/folding.vader | 16 ++++++++-------- test/python-folding.vader | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) 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; -- 2.39.5