view src/testdir/test22.in @ 26554:7a74515dde6b v8.2.3806

patch 8.2.3806: terminal focus test fails sometimes Commit: https://github.com/vim/vim/commit/c2958585f6c7ce4d822d3191ba501c0757b3ffff Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 14 11:16:31 2021 +0000 patch 8.2.3806: terminal focus test fails sometimes Problem: Terminal focus test fails sometimes. Solution: Run the test function before others.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 12:30:03 +0100
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests for complicated + argument to :edit command

STARTTEST
:$-1w! Xfile1
:$w! Xfile2
:edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
:w! test.out
:e Xfile1
:w >> test.out
:qa!
ENDTEST

The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar"
foo|bar
foo/bar