comparison src/testdir/test_undo.vim @ 12644:1fad9675d8fd v8.0.1200

patch 8.0.1200: tests switch the bell off twice commit https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 15 22:07:39 2017 +0200 patch 8.0.1200: tests switch the bell off twice Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2017 22:15:04 +0200
parents ae45d497868f
children aa658b33f25a
comparison
equal deleted inserted replaced
12643:f88dfd7fd3bc 12644:1fad9675d8fd
1 " Tests for the undo tree. 1 " Tests for the undo tree.
2 " Since this script is sourced we need to explicitly break changes up in 2 " Since this script is sourced we need to explicitly break changes up in
3 " undo-able pieces. Do that by setting 'undolevels'. 3 " undo-able pieces. Do that by setting 'undolevels'.
4 " Also tests :earlier and :later. 4 " Also tests :earlier and :later.
5 5
6 set belloff=all
7 func Test_undotree() 6 func Test_undotree()
8 exe "normal Aabc\<Esc>" 7 exe "normal Aabc\<Esc>"
9 set ul=100 8 set ul=100
10 exe "normal Adef\<Esc>" 9 exe "normal Adef\<Esc>"
11 set ul=100 10 set ul=100