diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-10-31 19:04:28 +0000 |
|---|---|---|
| committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-26 18:53:10 +0000 |
| commit | 0f4510cb1a48c4c4d7b23a45f57d087329d4364d (patch) | |
| tree | 5f0b7e0cd708807e451cee4dd39e21b177efea2b /src/nvim/testdir/test_utf8.vim | |
| parent | 2ee0bc09d9becd71ca864b4d754b63b152d1ce5b (diff) | |
| download | rneovim-0f4510cb1a48c4c4d7b23a45f57d087329d4364d.tar.gz rneovim-0f4510cb1a48c4c4d7b23a45f57d087329d4364d.tar.bz2 rneovim-0f4510cb1a48c4c4d7b23a45f57d087329d4364d.zip | |
feat(eval/method): partially port v8.1.2004
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/f6ed61e1489e40eada55a4f1782e1ed82bcad7d9
+sound is needed for sound_* functions.
Make swapinfo and swapname take exactly one argument.
Previously, they could erroneously take one or more.
Diffstat (limited to 'src/nvim/testdir/test_utf8.vim')
| -rw-r--r-- | src/nvim/testdir/test_utf8.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_utf8.vim b/src/nvim/testdir/test_utf8.vim index 1f2cdde5cf..0818c2e4b0 100644 --- a/src/nvim/testdir/test_utf8.vim +++ b/src/nvim/testdir/test_utf8.vim @@ -17,7 +17,7 @@ func Test_strchars() let exp = [[1, 1, 1], [3, 3, 3], [2, 2, 1], [3, 3, 1], [1, 1, 1]] for i in range(len(inp)) call assert_equal(exp[i][0], strchars(inp[i])) - call assert_equal(exp[i][1], strchars(inp[i], 0)) + call assert_equal(exp[i][1], inp[i]->strchars(0)) call assert_equal(exp[i][2], strchars(inp[i], 1)) endfor endfunc |