aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_perl.vim
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-09-01 12:28:16 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-10-03 20:12:20 +0100
commitc5583df3c081e485b521570891dbdd16cd952a85 (patch)
treeaa6267bea0e5a4b20daf263228f7e60af9351223 /src/nvim/testdir/test_perl.vim
parentd23d37b212d7b47ae1f729de5e0ea46b456ad2e5 (diff)
downloadrneovim-c5583df3c081e485b521570891dbdd16cd952a85.tar.gz
rneovim-c5583df3c081e485b521570891dbdd16cd952a85.tar.bz2
rneovim-c5583df3c081e485b521570891dbdd16cd952a85.zip
vim-patch:8.1.1984: more functions can be used as methods
Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/3f4f3d8e7e6fc0494d00cfb75669a554c8e67c8b test_prompt_buffer.vim already had all the changes, except Test_prompt_garbage_collect().
Diffstat (limited to 'src/nvim/testdir/test_perl.vim')
-rw-r--r--src/nvim/testdir/test_perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_perl.vim b/src/nvim/testdir/test_perl.vim
index 872194a804..b911a982f9 100644
--- a/src/nvim/testdir/test_perl.vim
+++ b/src/nvim/testdir/test_perl.vim
@@ -32,7 +32,7 @@ endfunc
funct Test_VIM_Blob()
call assert_equal('0z', perleval('VIM::Blob("")'))
- call assert_equal('0z31326162', perleval('VIM::Blob("12ab")'))
+ call assert_equal('0z31326162', 'VIM::Blob("12ab")'->perleval())
call assert_equal('0z00010203', perleval('VIM::Blob("\x00\x01\x02\x03")'))
call assert_equal('0z8081FEFF', perleval('VIM::Blob("\x80\x81\xfe\xff")'))
endfunc