Mercurial > vim
view src/testdir/test_set.vim @ 12899:9e04de2aa738 v8.0.1326
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows
commit https://github.com/vim/vim/commit/6e77df2d8555ade4470e566011603ae40f1f0f3a
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 21 11:43:08 2017 +0100
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windows
Problem: Largefile test fails on CI, glob test on MS-Windows.
Solution: Remove largefile test from list of all tests. Don't run
Test_glob() on non-unix systems. More cleanup. (Yegappan
Lakshmanan, closes #2354)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 21 Nov 2017 11:45:06 +0100 |
parents | 779a7c14c795 |
children | 08940efa6b4e |
line wrap: on
line source
" Tests for the :set command function Test_set_backslash() let isk_save = &isk set isk=a,b,c set isk+=d call assert_equal('a,b,c,d', &isk) set isk+=\\,e call assert_equal('a,b,c,d,\,e', &isk) set isk-=e call assert_equal('a,b,c,d,\', &isk) set isk-=\\ call assert_equal('a,b,c,d', &isk) let &isk = isk_save endfunction function Test_set_add() let wig_save = &wig set wildignore=*.png, set wildignore+=*.jpg call assert_equal('*.png,*.jpg', &wig) let &wig = wig_save endfunction