From b3ddc23507c391c776614a8dc8139939c711dee4 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 30 Nov 2020 01:08:27 -0500 Subject: test/old: partial port of patch 8.1.0711 Patch 8.1.0711 is too difficult to merge in 1 commit. --- src/nvim/testdir/test_partial.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim/testdir/test_partial.vim') diff --git a/src/nvim/testdir/test_partial.vim b/src/nvim/testdir/test_partial.vim index 590e18e024..52aac05ea1 100644 --- a/src/nvim/testdir/test_partial.vim +++ b/src/nvim/testdir/test_partial.vim @@ -113,9 +113,9 @@ func Test_function_in_dict() call OuterCall() endfunc -function! s:cache_clear() dict +func s:cache_clear() dict return self.name -endfunction +endfunc func Test_script_function_in_dict() let s:obj = {'name': 'foo'} @@ -135,10 +135,10 @@ func Test_script_function_in_dict() call assert_equal('bar', B()) endfunc -function! s:cache_arg(arg) dict +func s:cache_arg(arg) dict let s:result = self.name . '/' . a:arg return s:result -endfunction +endfunc func Test_script_function_in_dict_arg() let s:obj = {'name': 'foo'} -- cgit