Mercurial > vim
view src/testdir/test22.in @ 25615:b0f82974ddf4 v8.2.3344
patch 8.2.3344: vimscript test fails
Commit: https://github.com/vim/vim/commit/d2e9ccee90d2b39f4c9fd6cec271ef3fafd76f09
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 14 15:16:00 2021 +0200
patch 8.2.3344: vimscript test fails
Problem: Vimscript test fails.
Solution: Have test verify first error instead of second
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Aug 2021 15:30:03 +0200 |
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