]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove needless + from setext-style headers tests
authorHiroshi Shirosaki <h.shirosaki@gmail.com>
Wed, 13 Jan 2016 04:52:18 +0000 (13:52 +0900)
committerHiroshi Shirosaki <h.shirosaki@gmail.com>
Wed, 13 Jan 2016 04:52:18 +0000 (13:52 +0900)
test/folding.vader
test/python-folding.vader

index ee2097506e9bddb0fc7e79dd08adf96df1cb4c87..adcae5f9b26b165f5f1ace12962785686706cea7 100644 (file)
@@ -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, '--'
index 43f8085eceacd67a55e820b3aab2b34abd58c31a..b9e1dd0f2a240e4490b2bf2ba336321f773fd1c7 100644 (file)
@@ -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;