view src/testdir/test22.in @ 27247:0667f71ec335 v8.2.4152

patch 8.2.4152: block insert with double wide character fails Commit: https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 12:22:35 2022 +0000 patch 8.2.4152: block insert with double wide character fails Problem: Block insert with double wide character fails. Solution: Adjust the expected output.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 13:30:04 +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