Add regression test case for #51

This commit is contained in:
Junegunn Choi
2014-12-10 12:01:39 +09:00
parent 32591ec4d4
commit 883c6b67a0

View File

@@ -174,18 +174,28 @@ Expect c:
PRINTF("foo = %f\n", foo); PRINTF("foo = %f\n", foo);
printf("foobar = %f\n", foobar); printf("foobar = %f\n", foobar);
# Error when using delimiter alignment option (#50) * #50 Error when using delimiter alignment option
Given: Given:
a | b | c a|bbb|c
aa|bb|cc aa|bb|cc
Do: Do (#50 EasyAlign command with 'a' option):
:%EasyAlign {'a': 'l'}\<cr> :%EasyAlign {'a': 'l'}\<cr>
\<cr> \<cr>
*| *|
Expect (Some text): 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 aa | bb | cc
Include: include/teardown.vader Include: include/teardown.vader