diff options
Diffstat (limited to 'src/testdir/test_eval.in')
| -rw-r--r-- | src/testdir/test_eval.in | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in deleted file mode 100644 index c34f5cb50e..0000000000 --- a/src/testdir/test_eval.in +++ /dev/null @@ -1,57 +0,0 @@ -STARTTEST - -:e test.out -:%d - -:" function name not starting with a capital -:try -: func! g:test() -: echo "test" -: endfunc -:catch -: $put =v:exception -:endtry - -:" function name folowed by # -:try -: func! test2() "# -: echo "test2" -: endfunc -:catch -: $put =v:exception -:endtry - -:" function name includes a colon -:try -: func! b:test() -: echo "test" -: endfunc -:catch -: $put =v:exception -:endtry - -:" function name starting with/without "g:", buffer-local funcref. -:function! g:Foo(n) -: $put ='called Foo(' . a:n . ')' -:endfunction -:let b:my_func = function('Foo') -:call b:my_func(1) -:echo g:Foo(2) -:echo Foo(3) - -:" script-local function used in Funcref must exist. -:so test_eval_func.vim - -:" using $ instead of '$' must give an error -:try -: call append($, 'foobar') -:catch -: $put =v:exception -:endtry - -:1d -:w -:qa! - -ENDTEST - |