diff src/testdir/test_pyx2.vim @ 17976:6d11a0d5751d v8.1.1984

patch 8.1.1984: more functions can be used as methods Commit: https://github.com/vim/vim/commit/3f4f3d8e7e6fc0494d00cfb75669a554c8e67c8b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 4 20:05:59 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 04 Sep 2019 20:15:04 +0200
parents 8e9e9124c7a2
children 04ef2ccf2519
line wrap: on
line diff
--- a/src/testdir/test_pyx2.vim
+++ b/src/testdir/test_pyx2.vim
@@ -34,7 +34,7 @@ endfunc
 
 func Test_pyxeval()
   pyx import sys
-  call assert_match(s:py2pattern, split(pyxeval('sys.version'))[0])
+  call assert_match(s:py2pattern, split('sys.version'->pyxeval())[0])
 endfunc