aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/changedtick_spec.lua
Commit message (Collapse)AuthorAge
* test: reorg #15698Justin M. Keyes2021-09-17
| | | | | | | | | | | | | | | | | | | | Problem: Subdirectories like "visual", "insert", "normal" encourage people to separate *related* tests for no good reason. Typically the _mode_ is not the relevant topic of a test (and when it is, _then_ create an appropriate describe() or it()). Solution: - Delete the various `test/functional/<mode>/` subdirectories, move their tests to more meaningful topics. - Rename `…/normal/` to `…/editor/`. - Move or merge `…/visual/*` and `…/insert/*` tests into here where appropriate. - Rename `…/eval/` to `…/vimscript/`. - Move `…/viml/*` into here also. * test(reorg): insert/* => editor/mode_insert_spec.lua * test(reorg): cmdline/* => editor/mode_cmdline_spec.lua * test(reorg): eval core tests => eval_spec.lua
* test: Rename meth_pcall to pcall_errJustin M. Keyes2019-09-06
| | | | | | | - Rename `meth_pcall`. - Make `pcall_err` raise an error if the function does not fail. - Add `vim.pesc()` to treat a string as literal where a Lua pattern is expected.
* *: Fix linter errorsZyX2017-02-23
|
* api: Make sure dict_set_var doesn’t edit read-only valuesZyX2017-02-23
| | | Fixes #6147
* eval: Forbid (un)locking b:changedtickZyX2017-02-23
| | | Port of vim-patch:8.0.0343
* eval: Make sure `islocked('b:.changedtick')` does not error outZyX2017-02-23
| | | Port of vim-patch:8.0.0345
* eval: Specify more precise len for var_check_ro in get_lvalZyX2017-02-23
|
* functests: Add some more testsZyX2017-02-23
|
* buffer: Forbid unletting b:changedtickZyX2017-02-23
|
* eval: Refactor item_lockZyX2017-02-23
| | | If I am not mistaking, this commit should not change any functionality.
* eval: Make sure that b:changedtick may not be unlocked via :unlo b:varZyX2017-02-23
| | | It still may be unlocked by `:unlock b:.var`.
* functests: Add testsZyX2017-02-23
Contains a number of FIXMEs.