@@ -397,21 +397,21 @@ describe('Mappings', function()
397
397
' * TODO Test orgmode' ,
398
398
' - Regular item' ,
399
399
' - Second recular item' ,
400
- ' - Neste item' ,
400
+ ' - Nested item' ,
401
401
})
402
402
403
403
assert .are .same ({
404
404
' - Regular item' ,
405
405
' - Second recular item' ,
406
- ' - Neste item' ,
406
+ ' - Nested item' ,
407
407
}, vim .api .nvim_buf_get_lines (0 , 3 , 6 , false ))
408
408
vim .fn .cursor (4 , 1 )
409
409
vim .cmd ([[ exe "norm ,\<CR>"]] )
410
410
assert .are .same ({
411
411
' - Regular item' ,
412
412
' - ' ,
413
413
' - Second recular item' ,
414
- ' - Neste item' ,
414
+ ' - Nested item' ,
415
415
}, vim .api .nvim_buf_get_lines (0 , 3 , 7 , false ))
416
416
end )
417
417
@@ -428,13 +428,13 @@ describe('Mappings', function()
428
428
' * TODO Test orgmode' ,
429
429
' - Regular item' ,
430
430
' - Second recular item' ,
431
- ' - Neste item' ,
431
+ ' - Nested item' ,
432
432
})
433
433
434
434
assert .are .same ({
435
435
' - Regular item' ,
436
436
' - Second recular item' ,
437
- ' - Neste item' ,
437
+ ' - Nested item' ,
438
438
}, vim .api .nvim_buf_get_lines (0 , 3 , 6 , false ))
439
439
vim .fn .cursor (4 , 1 )
440
440
vim .cmd ([[ exe "norm ,\<CR>"]] )
@@ -443,7 +443,7 @@ describe('Mappings', function()
443
443
' ' ,
444
444
' - ' ,
445
445
' - Second recular item' ,
446
- ' - Neste item' ,
446
+ ' - Nested item' ,
447
447
}, vim .api .nvim_buf_get_lines (0 , 3 , 8 , false ))
448
448
config :extend ({
449
449
org_blank_before_new_entry = {
@@ -655,17 +655,17 @@ describe('Mappings', function()
655
655
' #TITLE: Test' ,
656
656
' ' ,
657
657
' * TODO Test orgmode' ,
658
- ' - item' ,
658
+ ' * item' ,
659
659
})
660
660
661
661
assert .are .same ({
662
- ' - item' ,
662
+ ' * item' ,
663
663
}, vim .api .nvim_buf_get_lines (0 , 3 , 4 , false ))
664
664
vim .fn .cursor (4 , 4 )
665
665
vim .cmd ([[ exe "norm ,\<CR>"]] )
666
666
assert .are .same ({
667
- ' - item' ,
668
- ' - ' ,
667
+ ' * item' ,
668
+ ' * ' ,
669
669
}, vim .api .nvim_buf_get_lines (0 , 3 , 5 , false ))
670
670
end
671
671
)
@@ -675,23 +675,23 @@ describe('Mappings', function()
675
675
' #TITLE: Test' ,
676
676
' ' ,
677
677
' * TODO Test orgmode' ,
678
- ' - [ ] The checkbox' ,
679
- ' - [X] The checkbox 2' ,
680
- ' - [ ] Nested checkbox' ,
678
+ ' * [ ] The checkbox' ,
679
+ ' * [X] The checkbox 2' ,
680
+ ' * [ ] Nested checkbox' ,
681
681
' multiple tags content, tags not read from content :FROMCONTENT:' ,
682
682
})
683
683
684
684
assert .are .same ({
685
- ' - [X] The checkbox 2' ,
686
- ' - [ ] Nested checkbox' ,
685
+ ' * [X] The checkbox 2' ,
686
+ ' * [ ] Nested checkbox' ,
687
687
' multiple tags content, tags not read from content :FROMCONTENT:' ,
688
688
}, vim .api .nvim_buf_get_lines (0 , 4 , 7 , false ))
689
689
vim .fn .cursor (5 , 1 )
690
690
vim .cmd ([[ exe "norm ,\<CR>"]] )
691
691
assert .are .same ({
692
- ' - [X] The checkbox 2' ,
693
- ' - [ ] Nested checkbox' ,
694
- ' - [ ] ' ,
692
+ ' * [X] The checkbox 2' ,
693
+ ' * [ ] Nested checkbox' ,
694
+ ' * [ ] ' ,
695
695
' multiple tags content, tags not read from content :FROMCONTENT:' ,
696
696
}, vim .api .nvim_buf_get_lines (0 , 4 , 8 , false ))
697
697
end )
0 commit comments