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:
@@ -7767,7 +7767,10 @@ ex_smile(eap)
|
|||||||
msg_putchar('\n');
|
msg_putchar('\n');
|
||||||
else
|
else
|
||||||
for (n = *p++; n > 0; --n)
|
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();
|
msg_clr_eos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -17,3 +17,8 @@ func Test_assert_equal()
|
|||||||
let l = [1, 2, 3]
|
let l = [1, 2, 3]
|
||||||
call assert_equal([1, 2, 3], l)
|
call assert_equal([1, 2, 3], l)
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_user_is_happy()
|
||||||
|
smile
|
||||||
|
sleep 300m
|
||||||
|
endfunc
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1010,
|
||||||
/**/
|
/**/
|
||||||
1009,
|
1009,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user