forked from aniani/vim
patch 9.0.0333: method test fails
Problem: Method test fails. Solution: Adjust test for items() now working on string.
This commit is contained in:
@@ -78,7 +78,7 @@ func Test_string_method()
|
||||
eval "a\rb\ec"->strtrans()->assert_equal('a^Mb^[c')
|
||||
eval "aあb"->strwidth()->assert_equal(4)
|
||||
eval 'abc'->substitute('b', 'x', '')->assert_equal('axc')
|
||||
call assert_fails('eval "x"->items()', 'E1227:')
|
||||
call assert_fails('eval 123->items()', 'E1225:')
|
||||
|
||||
eval 'abc'->printf('the %s arg')->assert_equal('the abc arg')
|
||||
endfunc
|
||||
|
@@ -707,6 +707,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
333,
|
||||
/**/
|
||||
332,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user