Mercurial > vim
view src/testdir/test_lispwords.vim @ 11401:fc1939947789 v8.0.0585
patch 8.0.0585: test_options fails when run in the GUI
commit https://github.com/vim/vim/commit/86e5792906621be5a6c4a1de9b8852e9caf65ea1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 23 18:44:26 2017 +0200
patch 8.0.0585: test_options fails when run in the GUI
Problem: Test_options fails when run in the GUI.
Solution: Also check the 'imactivatekey' value when the GUI is not running.
Specify test values that work and that fail.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 23 Apr 2017 18:45:05 +0200 |
parents | 979f8a595326 |
children | 44aa2997239d |
line wrap: on
line source
" Tests for 'lispwords' settings being global-local set nocompatible viminfo+=nviminfo func Test_global_local_lispwords() setglobal lispwords=foo,bar,baz setlocal lispwords-=foo | setlocal lispwords+=quux call assert_equal('foo,bar,baz', &g:lispwords) call assert_equal('bar,baz,quux', &l:lispwords) call assert_equal('bar,baz,quux', &lispwords) setlocal lispwords< call assert_equal('foo,bar,baz', &g:lispwords) call assert_equal('foo,bar,baz', &l:lispwords) call assert_equal('foo,bar,baz', &lispwords) endfunc