comparison src/testdir/test22.in @ 21779:30bdd2e4a6f9 v8.2.1439

patch 8.2.1439: tiny and small builds have no test coverage Commit: https://github.com/vim/vim/commit/b96a32ef1a95dd4ebf9413d686bccb1b4645f74b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 13 18:59:55 2020 +0200 patch 8.2.1439: tiny and small builds have no test coverage Problem: Tiny and small builds have no test coverage. Solution: Restore tests that do not depend on the +eval feature. (Ken Takata, closes #6696)
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Aug 2020 19:15:04 +0200
parents
children
comparison
equal deleted inserted replaced
21778:cc500536c15e 21779:30bdd2e4a6f9
1 Tests for complicated + argument to :edit command
2
3 STARTTEST
4 :$-1w! Xfile1
5 :$w! Xfile2
6 :edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
7 :w! test.out
8 :e Xfile1
9 :w >> test.out
10 :qa!
11 ENDTEST
12
13 The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
14 foo|bar
15 foo/bar