From 6e3e8c51c0919df4d407b323d0e9237c278e2c23 Mon Sep 17 00:00:00 2001 From: Sean Dewar Date: Mon, 1 Nov 2021 23:24:49 +0000 Subject: test(oldtest): uncomment method call syntax uses We should now be equal with Vim in regards to method call support of already ported built-ins. Enable all relevant commented-out uses of the syntax in tests that I could grep. --- src/nvim/testdir/test_startup.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/nvim/testdir/test_startup.vim') diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim index b140077111..d830f5216d 100644 --- a/src/nvim/testdir/test_startup.vim +++ b/src/nvim/testdir/test_startup.vim @@ -905,15 +905,13 @@ func Test_not_a_term() " This will take 2 seconds because of the missing --not-a-term let cmd = GetVimProg() .. ' --cmd quit ' .. redir exe "silent !" . cmd - " call assert_match("\", readfile('Xvimout')->join()) - call assert_match("\", join(readfile('Xvimout'))) + call assert_match("\", readfile('Xvimout')->join()) call delete('Xvimout') " With --not-a-term there are no escape sequences. let cmd = GetVimProg() .. ' --not-a-term --cmd quit ' .. redir exe "silent !" . cmd - " call assert_notmatch("\", readfile('Xvimout')->join()) - call assert_notmatch("\", join(readfile('Xvimout'))) + call assert_notmatch("\", readfile('Xvimout')->join()) call delete('Xvimout') endfunc -- cgit