view src/testdir/test22.in @ 26589:22896e358a90 v8.2.3824

patch 8.2.3824: no ASAN support for MSVC Commit: https://github.com/vim/vim/commit/6df0f2759d12ec0bc999b2963ecea4387a2bc516 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Dec 16 13:06:10 2021 +0000 patch 8.2.3824: no ASAN support for MSVC Problem: No ASAN support for MSVC. Solution: Add ASAN support and fix a coupld of uncovered problems. (Yegappan Lakshmanan, closes #9357)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Dec 2021 14:15:02 +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