comparison src/testdir/test_usercommands.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 9b3f8029a326
comparison
equal deleted inserted replaced
12643:f88dfd7fd3bc 12644:1fad9675d8fd
1 " Tests for user defined commands 1 " Tests for user defined commands
2 2
3 " Test for <mods> in user defined commands 3 " Test for <mods> in user defined commands
4 set belloff=all
5 function Test_cmdmods() 4 function Test_cmdmods()
6 let g:mods = '' 5 let g:mods = ''
7 6
8 command! -nargs=* MyCmd let g:mods .= '<mods> ' 7 command! -nargs=* MyCmd let g:mods .= '<mods> '
9 8