Mercurial > vim
comparison src/testdir/test72.in @ 11091:ae45d497868f v8.0.0433
patch 8.0.0433: beeps when running tests
commit https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 8 22:55:19 2017 +0100
patch 8.0.0433: beeps when running tests
Problem: Quite a few beeps when running tests.
Solution: Set 'belloff' for these tests. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 08 Mar 2017 23:00:06 +0100 |
parents | fd4dc6581b0e |
children |
comparison
equal
deleted
inserted
replaced
11090:5137efa60fd6 | 11091:ae45d497868f |
---|---|
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 | 4 |
5 STARTTEST | 5 STARTTEST |
6 :so small.vim | 6 :so small.vim |
7 :set belloff=all | |
7 :" | 8 :" |
8 :" Test 'undofile': first a simple one-line change. | 9 :" Test 'undofile': first a simple one-line change. |
9 :set nocompatible viminfo+=nviminfo visualbell | 10 :set nocompatible viminfo+=nviminfo visualbell |
10 :set ul=100 undofile nomore | 11 :set ul=100 undofile nomore |
11 :e! Xtestfile | 12 :e! Xtestfile |
23 :s/line/Line/ | 24 :s/line/Line/ |
24 :w | 25 :w |
25 :set undofile | 26 :set undofile |
26 :bwipe! | 27 :bwipe! |
27 :e Xtestfile | 28 :e Xtestfile |
28 :" TODO: this beeps | |
29 u:.w >>test.out | 29 u:.w >>test.out |
30 :" | 30 :" |
31 :" Test 'undofile', add 10 lines, delete 6 lines, undo 3 | 31 :" Test 'undofile', add 10 lines, delete 6 lines, undo 3 |
32 :set undofile | 32 :set undofile |
33 ggdGione | 33 ggdGione |