Mercurial > vim
diff src/testdir/test_undo.vim @ 19991:f27473034f26 v8.2.0551
patch 8.2.0551: not all code for options is tested
Commit: https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 13:50:26 2020 +0200
patch 8.2.0551: not all code for options is tested
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5913)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 14:00:04 +0200 |
parents | 02111977dd05 |
children | a6fe2e1ad5b0 |
line wrap: on
line diff
--- a/src/testdir/test_undo.vim +++ b/src/testdir/test_undo.vim @@ -123,6 +123,11 @@ func Test_global_local_undolevels() call assert_equal(50, &g:undolevels) call assert_equal(-123456, &l:undolevels) + " Resetting the local 'undolevels' value to use the global value + setlocal undolevels=5 + setlocal undolevels< + call assert_equal(-123456, &l:undolevels) + " Drop created windows set ul& new