Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
19990:696d046d651b | 19991:f27473034f26 |
---|---|
119 call assert_equal(-123456, &l:undolevels) | 119 call assert_equal(-123456, &l:undolevels) |
120 | 120 |
121 new three | 121 new three |
122 setglobal ul=50 | 122 setglobal ul=50 |
123 call assert_equal(50, &g:undolevels) | 123 call assert_equal(50, &g:undolevels) |
124 call assert_equal(-123456, &l:undolevels) | |
125 | |
126 " Resetting the local 'undolevels' value to use the global value | |
127 setlocal undolevels=5 | |
128 setlocal undolevels< | |
124 call assert_equal(-123456, &l:undolevels) | 129 call assert_equal(-123456, &l:undolevels) |
125 | 130 |
126 " Drop created windows | 131 " Drop created windows |
127 set ul& | 132 set ul& |
128 new | 133 new |