Skip to content

Commit ada4803

Browse files
committed
Clean up tests for fold-handling
Give the do-blocks a better description and remove unnecessary option settings in the execute-blocks. See #152.
1 parent f507f91 commit ada4803

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

tests/test.vader

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,17 +1110,13 @@ Execute (cleanup):
11101110
###########################################################
11111111
# Fold Handling
11121112

1113-
Execute (set foldmethod=manual):
1114-
set foldmethod=manual
1115-
set foldopen+=search
1116-
11171113
Given:
11181114
aaaaaaaaaa
11191115
aaaaabaaba
11201116
ababaaaaaa
11211117
aaaaaabaaa
11221118

1123-
Do (using s and ;):
1119+
Do (s and ; in folds):
11241120
jzfjggsba;x
11251121

11261122
Expect:
@@ -1129,7 +1125,7 @@ Expect:
11291125
ababaaaaaa
11301126
aaaaaabaaa
11311127

1132-
Do (using s and \):
1128+
Do (s and \ in folds):
11331129
jzfjGsba\\x
11341130

11351131
Expect:
@@ -1138,7 +1134,7 @@ Expect:
11381134
aabaaaaaa
11391135
aaaaaabaaa
11401136

1141-
Do (using S and ;):
1137+
Do (S and ; in folds):
11421138
jzfjG$Sba;x
11431139

11441140
Expect:
@@ -1147,7 +1143,7 @@ Expect:
11471143
abaaaaaaa
11481144
aaaaaabaaa
11491145

1150-
Do (using S and \):
1146+
Do (S and \ in folds):
11511147
jzfjggSba\\x
11521148

11531149
Expect:
@@ -1159,7 +1155,7 @@ Expect:
11591155
Execute (set foldopen-=search):
11601156
set foldopen-=search
11611157

1162-
Do (using s and ;):
1158+
Do (s and ; in folds):
11631159
jzfjggsba;x
11641160

11651161
Expect:
@@ -1168,14 +1164,14 @@ Expect:
11681164
ababaaaaaa
11691165
aaaaaaaaa
11701166

1171-
Do (using s and \):
1167+
Do (s and \ in folds):
11721168
jzfjGsba\\x
11731169

11741170
Expect:
11751171
aaaaaaaaaa
11761172
aaaaaabaaa
11771173

1178-
Do (using S and ;):
1174+
Do (S and ; in folds):
11791175
jzfjG$Sba;zvx
11801176

11811177
Expect:
@@ -1184,7 +1180,7 @@ Expect:
11841180
abaaaaaaa
11851181
aaaaaabaaa
11861182

1187-
Do (using S and \):
1183+
Do (S and \ in folds):
11881184
jzfjggSba\\x
11891185

11901186
Expect:
@@ -1194,5 +1190,4 @@ Expect:
11941190
aaaaaaaaa
11951191

11961192
Execute (cleanup):
1197-
set foldmethod=indent
11981193
set foldopen+=search

0 commit comments

Comments
 (0)