Mercurial > vim
view 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 |
line wrap: on
line source
" 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")) call delete('Xfile1') call delete('Xfile2') endfunction