File tree 1 file changed +28
-2
lines changed
1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,32 @@ local data = {
138
138
" ++ J" ,
139
139
" +++ K" ,
140
140
},
141
+ indented_whitespace_tabs = {
142
+ " # A" ,
143
+ " ## B" ,
144
+ " ### C" ,
145
+ " #### D" ,
146
+ " ##### E" ,
147
+ " ## F" ,
148
+ " ### G" ,
149
+ " #### H" ,
150
+ " ### I" ,
151
+ " ## J" ,
152
+ " ### K" ,
153
+ },
154
+ indented_whitespace_spaces = {
155
+ " # A" ,
156
+ " ## B" ,
157
+ " ### C" ,
158
+ " #### D" ,
159
+ " ##### E" ,
160
+ " ## F" ,
161
+ " ### G" ,
162
+ " #### H" ,
163
+ " ### I" ,
164
+ " ## J" ,
165
+ " ### K" ,
166
+ },
141
167
}
142
168
143
169
local target = {
@@ -452,10 +478,10 @@ describe("AsciiTreeUndo", function()
452
478
function ()
453
479
local result =
454
480
asciitree .format_delimiter (target .indented_whitespace_spaces )
455
- assert .tbl_equal (data .default , result )
481
+ assert .tbl_equal (data .indented_whitespace_spaces , result )
456
482
457
483
result = asciitree .format_delimiter (target .indented_whitespace_tabs )
458
- assert .tbl_equal (data .default , result )
484
+ assert .tbl_equal (data .indented_whitespace_tabs , result )
459
485
end
460
486
)
461
487
end )
You can’t perform that action at this time.
0 commit comments