1
0
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:
Bram Moolenaar
2015-12-31 20:46:39 +01:00
parent 53076830fe
commit 2d820808cd
3 changed files with 11 additions and 1 deletions

View File

@@ -7767,6 +7767,9 @@ ex_smile(eap)
msg_putchar('\n'); msg_putchar('\n');
else else
for (n = *p++; n > 0; --n) for (n = *p++; n > 0; --n)
if (*p == 'o' || *p == '$')
msg_putchar_attr(*p, hl_attr(HLF_L));
else
msg_putchar(*p); msg_putchar(*p);
msg_clr_eos(); msg_clr_eos();
} }

View File

@@ -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

View File

@@ -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,
/**/ /**/