Skip to content

Commit 4455ea6

Browse files
committed
Test HeaderDecrease on #hashtags
1 parent 05e5742 commit 4455ea6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

test/header-decrease.vader

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,29 @@ Expect (no changes):
8989
##### e
9090

9191
###### f
92+
93+
Given markdown;
94+
## a
95+
96+
##hashtag
97+
98+
Execute (HeaderDecrease with hashtag):
99+
:HeaderDecrease
100+
101+
Expect (hashtags are not affected):
102+
# a
103+
104+
##hashtag
105+
106+
Given markdown;
107+
# a
108+
109+
#hashtag
110+
111+
Execute (HeaderIncrease with hashtag):
112+
:HeaderIncrease
113+
114+
Expect (hashtags are not affected):
115+
## a
116+
117+
#hashtag

0 commit comments

Comments
 (0)