Mercurial > vim
comparison src/testdir/test_cmdline.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 | 7df3dd3c0ac1 |
children | 9b882316aa63 |
comparison
equal
deleted
inserted
replaced
12643:f88dfd7fd3bc | 12644:1fad9675d8fd |
---|---|
1 " Tests for editing the command line. | 1 " Tests for editing the command line. |
2 | 2 |
3 set belloff=all | |
4 | 3 |
5 func Test_complete_tab() | 4 func Test_complete_tab() |
6 call writefile(['testfile'], 'Xtestfile') | 5 call writefile(['testfile'], 'Xtestfile') |
7 call feedkeys(":e Xtest\t\r", "tx") | 6 call feedkeys(":e Xtest\t\r", "tx") |
8 call assert_equal('testfile', getline(1)) | 7 call assert_equal('testfile', getline(1)) |