diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-14 17:04:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-14 17:04:31 +0200 |
commit | 08052228a72074cdb0165e65f01b2fa8fce867ea (patch) | |
tree | df553d28f0672a899172ba0ee4ea83e35510ff03 /src/testdir/test_vim9_func.vim | |
parent | eb26f4331f607b1639bf01f4f35ad3ce7d20cb10 (diff) | |
download | vim-git-8.2.1681.tar.gz |
patch 8.2.1681: Vim9: unnessary :call commands in testsv8.2.1681
Problem: Vim9: unnessary :call commands in tests.
Solution: Remove the commands. (issue #6936)
Diffstat (limited to 'src/testdir/test_vim9_func.vim')
-rw-r--r-- | src/testdir/test_vim9_func.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index 7a1385c74..de107249e 100644 --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -279,7 +279,7 @@ def Test_call_wrong_args() enddef Func([]) END - call CheckScriptFailure(lines, 'E1013: argument 1: type mismatch, expected string but got list<unknown>', 5) + CheckScriptFailure(lines, 'E1013: argument 1: type mismatch, expected string but got list<unknown>', 5) enddef " Default arg and varargs @@ -1099,7 +1099,7 @@ def Test_error_reporting() enddef defcompile END - call writefile(lines, 'Xdef') + writefile(lines, 'Xdef') try source Xdef assert_report('should have failed') @@ -1119,7 +1119,7 @@ def Test_error_reporting() enddef defcompile END - call writefile(lines, 'Xdef') + writefile(lines, 'Xdef') try source Xdef assert_report('should have failed') @@ -1138,7 +1138,7 @@ def Test_error_reporting() defcompile Func() END - call writefile(lines, 'Xdef') + writefile(lines, 'Xdef') try source Xdef assert_report('should have failed') @@ -1146,7 +1146,7 @@ def Test_error_reporting() v:throwpoint->assert_match('_Func, line 3$') endtry - call delete('Xdef') + delete('Xdef') enddef def Test_deleted_function() |