comparison src/testdir/test_recover.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 4767939d10cc
children 11394af51615
comparison
equal deleted inserted replaced
12643:f88dfd7fd3bc 12644:1fad9675d8fd
19 " blocks. Then recovers from the swap file and checks all text is restored. 19 " blocks. Then recovers from the swap file and checks all text is restored.
20 " 20 "
21 " We need about 10000 lines of 100 characters to get two levels of pointer 21 " We need about 10000 lines of 100 characters to get two levels of pointer
22 " blocks. 22 " blocks.
23 func Test_swap_file() 23 func Test_swap_file()
24 set fileformat=unix undolevels=-1 belloff=all 24 set fileformat=unix undolevels=-1
25 edit! Xtest 25 edit! Xtest
26 let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789" 26 let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"
27 let i = 1 27 let i = 1
28 let linecount = 10000 28 let linecount = 10000
29 while i <= linecount 29 while i <= linecount