diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-30 18:26:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-30 18:26:19 +0100 |
commit | 171a1607f4b0b3cdcbbe5e886da37a5d11f15684 (patch) | |
tree | 31c7f97c6e49064006148b91e2fc337800549c00 /src/testdir | |
parent | 9c8f94636b3610b898ffbbd07f6b75866d16cbca (diff) |
patch 9.0.0333: method test failsv9.0.0333
Problem: Method test fails.
Solution: Adjust test for items() now working on string.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_method.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_method.vim b/src/testdir/test_method.vim index ee2093f285..22a930c5f2 100644 --- a/src/testdir/test_method.vim +++ b/src/testdir/test_method.vim @@ -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 |