Mercurial > vim
comparison src/testdir/test_options.vim @ 26426:c59d60e21ef5 v8.2.3744
patch 8.2.3744: E854 is not tested; some spelling suggestions are not tested
Commit: https://github.com/vim/vim/commit/f645ee47c85940d05f492a1b3932fbcdfd4204b3
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sun Dec 5 13:21:18 2021 +0000
patch 8.2.3744: E854 is not tested; some spelling suggestions are not tested
Problem: E854 is not tested; some spelling suggestions are not tested.
Solution: Add a couple of tests. (Dominique Pell?, closes https://github.com/vim/vim/issues/9279)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Dec 2021 14:30:03 +0100 |
parents | 485c7c4afeb7 |
children | 8088fa133b93 |
comparison
equal
deleted
inserted
replaced
26425:976b5fc1ff82 | 26426:c59d60e21ef5 |
---|---|
131 set path=foo,,bar | 131 set path=foo,,bar |
132 set path-=bar | 132 set path-=bar |
133 set path+=bar | 133 set path+=bar |
134 call assert_equal('foo,,bar', &path) | 134 call assert_equal('foo,,bar', &path) |
135 | 135 |
136 set path& | |
137 endfunc | |
138 | |
139 func Test_path_too_long() | |
140 exe 'set path=' .. repeat('x', 10000) | |
141 call assert_fails('find x', 'E854:') | |
136 set path& | 142 set path& |
137 endfunc | 143 endfunc |
138 | 144 |
139 func Test_signcolumn() | 145 func Test_signcolumn() |
140 CheckFeature signs | 146 CheckFeature signs |