view src/testdir/test22.in @ 26911:c451e8657110 v8.2.3984

patch 8.2.3984: debugger test fails Commit: https://github.com/vim/vim/commit/3d0da09bb2d31afc611bf1c4b35796739d87ed63 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 17:28:57 2022 +0000 patch 8.2.3984: debugger test fails Problem: Debugger test fails. Solution: Adjust the test for modified debugging of a for loop.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 18: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