Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 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 | fa69f6272692 |
children | 918942a3b0ef |
comparison
equal
deleted
inserted
replaced
11090:5137efa60fd6 | 11091:ae45d497868f |
---|---|
1 " Tests for editing the command line. | 1 " Tests for editing the command line. |
2 | |
3 set belloff=all | |
2 | 4 |
3 func Test_complete_tab() | 5 func Test_complete_tab() |
4 call writefile(['testfile'], 'Xtestfile') | 6 call writefile(['testfile'], 'Xtestfile') |
5 call feedkeys(":e Xtest\t\r", "tx") | 7 call feedkeys(":e Xtest\t\r", "tx") |
6 call assert_equal('testfile', getline(1)) | 8 call assert_equal('testfile', getline(1)) |