]> granicus.if.org Git - vim/commitdiff
patch 9.0.0333: method test fails v9.0.0333
authorBram Moolenaar <Bram@vim.org>
Tue, 30 Aug 2022 17:26:19 +0000 (18:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 30 Aug 2022 17:26:19 +0000 (18:26 +0100)
Problem:    Method test fails.
Solution:   Adjust test for items() now working on string.

src/testdir/test_method.vim
src/version.c

index ee2093f285f2469764bff4b73ad4f3919237635a..22a930c5f2efd42b185be9b587a19284f75f1ed1 100644 (file)
@@ -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
index 68d0e791a7d3f65b805380f15ffc7760a018d1a0..265da7569737a90632b3654b6100761f78e1ca0e 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    333,
 /**/
     332,
 /**/