annotate src/testdir/test_plus_arg_edit.vim @ 13590:0fc3ec8517e9 v8.0.1667

patch 8.0.1667: terminal window tests are flaky commit https://github.com/vim/vim/commit/3680bab7e797444a7f41646888d9dd04b01c3816 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 6 20:22:06 2018 +0200 patch 8.0.1667: terminal window tests are flaky Problem: Terminal window tests are flaky. Solution: Increase the waiting time for Vim to start.
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Apr 2018 20:30:06 +0200
parents 9e04de2aa738
children c1ead25ed819
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11651
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Tests for complicated + argument to :edit command
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 function Test_edit()
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 call writefile(["foo|bar"], "Xfile1")
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 call writefile(["foo/bar"], "Xfile2")
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 call assert_equal(["fooPIPEbar"], readfile("Xfile1"))
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 call assert_equal(["fooSLASHbar"], readfile("Xfile2"))
12899
9e04de2aa738 patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
8 call delete('Xfile1')
9e04de2aa738 patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows
Christian Brabandt <cb@256bit.org>
parents: 11651
diff changeset
9 call delete('Xfile2')
11651
140d51d5b5c3 patch 8.0.0708: some tests are old style
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 endfunction