aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_const.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* vim-patch:8.2.1698: cannot lock a variable in legacy Vim script like in Vim9 ↵zeertzjq2023-01-19
| | | | | | | | | | (#21883) Problem: Cannot lock a variable in legacy Vim script like in Vim9. Solution: Make ":lockvar 0" work. https://github.com/vim/vim/commit/a187c43cfe8863d48b2159d695fedcb71f8525c1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0401: not enough test coverage for evalvars.czeertzjq2022-10-26
| | | | | | | | | | | | | Problem: Not enough test coverage for evalvars.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5804) https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf Assert E475 instead of E474 in :redir test because a later patch changed the error number. Comment out the test for :echo with a deeply nested container as Nvim implements :echo very differently.
* vim-patch:8.2.1473: items in a list given to :const can still be modifiedSean Dewar2021-09-16
| | | | | | | Problem: Items in a list given to :const can still be modified. Solution: Work like ":lockvar! name" but don't lock referenced items. Make locking a blob work. https://github.com/vim/vim/commit/021bda56710d98c09a6b35610a476ab2dd8c58ad
* test/old: cherry-pick patch v8.1.1955 changes for test_trycatch.vimJan Edmund Lazo2020-12-11
|
* vim-patch:8.2.1471: :const only locks the variable, not the value (#12765)Jan Edmund Lazo2020-08-16
| | | | | Problem: :const only locks the variable, not the value. Solution: Lock the value as ":lockvar 1 var" would do. (closes vim/vim#6719) https://github.com/vim/vim/commit/241572794f7e93d2f8b762de2300e5f7e4f07628
* vim-patch:8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | Problem: :lockvar and :unlockvar cannot be followed by "| endif". Solution: Check for following commands. (closes vim/vim#5269) https://github.com/vim/vim/commit/cc4423ae13d78367a3d0b5756783523d3b3a1d31
* vim-patch:8.1.2348: :const cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | | Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes vim/vim#5269) Also fix completion after :const. https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
* vim-patch:8.1.1554: docs and tests for :const can be improvedrhysd2019-06-24
| | | | | | | Problem: Docs and tests for :const can be improved. Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida, closes vim/vim#4551) https://github.com/vim/vim/commit/1c196e7b1742c1a50ce0d74190721acaad087f81
* vim-patch:8.1.1543: const test fails with small featuresrhysd2019-06-24
| | | | | | Problem: Const test fails with small features. Solution: Don't unlet non-existing variables. https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
* vim-patch:8.1.1539: not easy to define a variable and lock itrhysd2019-06-24
Problem: Not easy to define a variable and lock it. Solution: Add ":const". https://github.com/vim/vim/commit/9937a055437ef67b57a1bdec8f0799b669c9dbf0