From 2c64f01674d110063d79c77b0246abcc8a6f4ca3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 24 Feb 2018 21:35:28 +0100 Subject: vim-patch:8.0.0708: some tests are old style Problem: Some tests are old style. Solution: Change a few tests from old style to new style. (pschuh, closes vim/vim#1813) https://github.com/vim/vim/commit/292eff0c5aacb8531d65509679b6c29eae8dc22a --- src/nvim/testdir/test_plus_arg_edit.vim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/nvim/testdir/test_plus_arg_edit.vim (limited to 'src/nvim/testdir/test_plus_arg_edit.vim') diff --git a/src/nvim/testdir/test_plus_arg_edit.vim b/src/nvim/testdir/test_plus_arg_edit.vim new file mode 100644 index 0000000000..0907550bfa --- /dev/null +++ b/src/nvim/testdir/test_plus_arg_edit.vim @@ -0,0 +1,8 @@ +" Tests for complicated + argument to :edit command +function Test_edit() + call writefile(["foo|bar"], "Xfile1") + call writefile(["foo/bar"], "Xfile2") + edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w + call assert_equal(["fooPIPEbar"], readfile("Xfile1")) + call assert_equal(["fooSLASHbar"], readfile("Xfile2")) +endfunction -- cgit From 53eb835e8f369c8a79eb4ac4239bb9e0b4bdc749 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 11 Jul 2018 10:07:55 +0200 Subject: vim-patch:8.0.1326: largefile test fails on CI, glob test on MS-Windows Problem: Largefile test fails on CI, glob test on MS-Windows. Solution: Remove largefile test from list of all tests. Don't run Test_glob() on non-unix systems. More cleanup. (Yegappan Lakshmanan, closes vim/vim#2354) https://github.com/vim/vim/commit/6e77df2d8555ade4470e566011603ae40f1f0f3a --- src/nvim/testdir/test_plus_arg_edit.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/testdir/test_plus_arg_edit.vim') diff --git a/src/nvim/testdir/test_plus_arg_edit.vim b/src/nvim/testdir/test_plus_arg_edit.vim index 0907550bfa..71dbea1991 100644 --- a/src/nvim/testdir/test_plus_arg_edit.vim +++ b/src/nvim/testdir/test_plus_arg_edit.vim @@ -5,4 +5,6 @@ function Test_edit() edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w call assert_equal(["fooPIPEbar"], readfile("Xfile1")) call assert_equal(["fooSLASHbar"], readfile("Xfile2")) + call delete('Xfile1') + call delete('Xfile2') endfunction -- cgit