mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 11:23:49 -05:00
Add regression test case for #51
This commit is contained in:
@@ -174,18 +174,28 @@ Expect c:
|
||||
PRINTF("foo = %f\n", foo);
|
||||
printf("foobar = %f\n", foobar);
|
||||
|
||||
# Error when using delimiter alignment option (#50)
|
||||
* #50 Error when using delimiter alignment option
|
||||
Given:
|
||||
a | b | c
|
||||
a|bbb|c
|
||||
aa|bb|cc
|
||||
|
||||
Do:
|
||||
Do (#50 EasyAlign command with 'a' option):
|
||||
:%EasyAlign {'a': 'l'}\<cr>
|
||||
\<cr>
|
||||
*|
|
||||
|
||||
Expect (Some text):
|
||||
a | b | c
|
||||
a | bbb | c
|
||||
aa | bb | cc
|
||||
|
||||
* #51 Repeat of visual <Plug>(LiveEasyAlign) broken
|
||||
Do (#51/#52 <Plug>(EasyAlignRepeat) in visual mode):
|
||||
V\<space>\<enter>\<enter>*||
|
||||
G
|
||||
V\<space>.
|
||||
|
||||
Expect:
|
||||
a | bbb | c
|
||||
aa | bb | cc
|
||||
|
||||
Include: include/teardown.vader
|
||||
|
||||
Reference in New Issue
Block a user