forked from aniani/vim
patch 7.4.1010
Problem: Some developers are unhappy while running tests. Solution: Add a test and some color.
This commit is contained in:
parent
53076830fe
commit
2d820808cd
@ -7767,7 +7767,10 @@ ex_smile(eap)
|
||||
msg_putchar('\n');
|
||||
else
|
||||
for (n = *p++; n > 0; --n)
|
||||
msg_putchar(*p);
|
||||
if (*p == 'o' || *p == '$')
|
||||
msg_putchar_attr(*p, hl_attr(HLF_L));
|
||||
else
|
||||
msg_putchar(*p);
|
||||
msg_clr_eos();
|
||||
}
|
||||
|
||||
|
@ -17,3 +17,8 @@ func Test_assert_equal()
|
||||
let l = [1, 2, 3]
|
||||
call assert_equal([1, 2, 3], l)
|
||||
endfunc
|
||||
|
||||
func Test_user_is_happy()
|
||||
smile
|
||||
sleep 300m
|
||||
endfunc
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1010,
|
||||
/**/
|
||||
1009,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user