view src/testdir/test_insertcount.in @ 12779:73eb8a2d7f04 v8.0.1267

patch 8.0.1267: Test_swap_group may leave file behind commit https://github.com/vim/vim/commit/5842a748be8039fd6d267f5557fe391c6c95399d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 4 22:36:53 2017 +0100 patch 8.0.1267: Test_swap_group may leave file behind Problem: Test_swap_group may leave file behind. Solution: Add a try/finally.
author Christian Brabandt <cb@256bit.org>
date Sat, 04 Nov 2017 22:45:06 +0100
parents 975d96776111
children
line wrap: on
line source

Tests for repeating insert and replace.

STARTTEST
:so small.vim
:/Second
4gro
:/^First/,$wq! test.out
:" get here when failed and in Insert mode
:.wq! test.out
ENDTEST

First line
Second line
Last line