summaryrefslogtreecommitdiff
path: root/src/testdir/test_termcodes.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-31 21:17:39 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-31 21:17:39 +0200
commitf9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (patch)
treeaf3ede78a2dedfa82536fb134d22dbe6c9a5033c /src/testdir/test_termcodes.vim
parent5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (diff)
downloadvim-git-f9f24ce7a0e5988fedf2e2ff751818f9b07510a6.tar.gz
patch 8.1.1953: more functions can be used as a methodv8.1.1953
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
Diffstat (limited to 'src/testdir/test_termcodes.vim')
-rw-r--r--src/testdir/test_termcodes.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index 75eaa7b8d..7b71d60ae 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -33,7 +33,7 @@ func TerminalEscapeCode(code, row, col, m)
" need to use byte encoding here.
let str = list2str([a:code + 0x20, a:col + 0x20, a:row + 0x20])
if has('iconv')
- let bytes = iconv(str, 'utf-8', 'latin1')
+ let bytes = str->iconv('utf-8', 'latin1')
else
" Hopefully the numbers are not too big.
let bytes = str