From ecd27296586bdde53ffb37654130ee4d7924498b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 26 Mar 2021 23:06:39 -0400 Subject: test/old: use CheckFunction, enable more tests Some skipped tests have custom error messages. Use ":CheckFunction" command for standard error message on missing function. --- src/nvim/testdir/test_system.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/testdir/test_system.vim') diff --git a/src/nvim/testdir/test_system.vim b/src/nvim/testdir/test_system.vim index 9cf8690d57..6bbe714d19 100644 --- a/src/nvim/testdir/test_system.vim +++ b/src/nvim/testdir/test_system.vim @@ -93,7 +93,6 @@ function! Test_system_exmode() endfunc func Test_system_with_shell_quote() - throw 'skipped: enable after porting method patches' CheckMSWindows call mkdir('Xdir with spaces', 'p') @@ -122,7 +121,8 @@ func Test_system_with_shell_quote() let msg = printf('shell=%s shellxquote=%s', &shell, &shellxquote) try - let out = 'echo 123'->system() + " let out = 'echo 123'->system() + let out = system('echo 123') catch call assert_report(printf('%s: %s', msg, v:exception)) continue -- cgit