| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
menu_spec.lua yanks to the clipboard, but never pastes from it. This
can leave a child xsel process waiting around for something to paste the
content, causing the test process to hang.
Since the test isn't explicitly trying to exercise the clipboard, simply
use the default register.
|
| |
|
|
|
|
|
|
| |
This new functionality is explained in the documentation.
Also, many tests have been added to the buffer_spec.lua file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When skipping these test blocks they may error out:
Error → test/functional/shell/viml_system_spec.lua @ 154
system() with output containing NULs setup
./test/functional/helpers.lua:75: attempt to index upvalue 'session' (a nil value)
stack traceback:
./test/functional/helpers.lua:75: in function 'request'
./test/functional/helpers.lua:166: in function 'nvim_feed'
./test/functional/helpers.lua:195: in function 'feed'
test/functional/shell/viml_system_spec.lua:14: in function <test/functional/shell/viml_system_spec.lua:13>
Error → test/functional/shell/viml_system_spec.lua @ 155
system() with output containing NULs teardown
./test/functional/helpers.lua:75: attempt to index upvalue 'session' (a nil value)
stack traceback:
./test/functional/helpers.lua:75: in function 'eval'
test/functional/shell/viml_system_spec.lua:21: in function <test/functional/shell/viml_system_spec.lua:20>
|
|
|
|
|
|
| |
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Add both a test for cwd=/ and cwd=/tmp/nvim.XXXXX, to make sure that we
don't have regressions in cwd handling.
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
|
|\ \
| | |
| | |
| | | |
vim-patch:7.4.1223
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when setting v:errors to a number.
Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/a542c680a8b42cb766e64d4ee7374ef4dacb7832
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sort test doesn't test with "1" argument.
Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/51d1d536802b5d8232d47e56f165ba8a009529b5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When the argument of sort() is zero or empty it fails.
Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto)
https://github.com/vim/vim/commit/5131c144feb046c5e2b72e6c172159d80ce06b3c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sort test fails on MS-Windows.
Solution: Correct the compare function.
https://github.com/vim/vim/commit/0bb6108eb4e1ecaed437bc507f514f5da7816d9e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Can't sort inside a sort function.
Solution: Use a struct to store the sort parameters. (Jacob Niehus)
https://github.com/vim/vim/commit/0b962473ddc7cee3cb45253dea273573bcca9bf9
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Autocommands triggered by quickfix cannot always get the current
title value.
Solution: Call qf_fill_buffer() later. (Christian Brabandt)
https://github.com/vim/vim/commit/6920c72d4d62c8dc5596e9f392e38204f561d7af
Helped by @mhinz
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
tests: Migrate legacy test 55
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
There is still one TODO item in the test file as it was necessary to comment
out one line in order to get the test to pass.
|
| |
| |
| |
| |
| | |
The test is split into several it() blocks to find the part of the test that
is making trouble.
|
| | |
|
|\ \
| | |
| | | |
tests: migrate legacy test 10
|
| |/ |
|
|\ \
| | |
| | | |
tcd: Determine correct scope from user input
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The directories table contains the names of the expected directory names
for varying scopes of the :cd tests. Using named indexes, instead of
numbered, makes the test more readable.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Build wcwd/tcwd and wlwd/tlwd on top of the reworked cwd/lwd functions.
This will allow for easier testing of `getcwd()`/`haslocaldir()` in
arbitrary windows and/or tab pages.
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: Expanding "~" halfway a file name.
Solution: Handle the file name as one name. (Marco Hinz) Add a test.
Closes vim/vim#564.
https://github.com/vim/vim/commit/58adb14739fa240ca6020cede9ab1f1cb07bd90a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`event_teardown` is there from 974752c, by aktau. It was introduced with
`init_homedir` and `event_init`. Then both were removed by justinmk in
99a9161bace8200aa611f6feefcc2ac3eda93251 (`init_homedir`) and
49c5689f45b9f222ed58e18e55678df7fb971ee8 (`event_init`), but `event_teardown`
was not removed. Now this may cause a crash. More details in #4852.
Closes #4852
|
|\ \
| | |
| | | |
tests: add tests for vim_strsave_escaped() function
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes vim/vim#577)
https://github.com/vim/vim/commit/2faa29f896252073b53f387406109e331fbbe5f8
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Old style tests for the argument list.
Solution: Add more new style tests. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/99dbe291f55022bd5166c9c3c7967b8693cd9d1b
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
https://github.com/vim/vim/commit/a24f0a550fed3d9773800cf6be4efd072fff20ec
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
https://github.com/vim/vim/commit/72defda84eb26be9e2ade56c7877b912f818026e
|
|\ \ \ \
| | | | |
| | | | | |
tests: Migrate legacy test listlbr.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The following upstream patches that modified the original test have reached
master: 7.4.798, 7.4.818, 7.4.883, 7.4.977. The changes are incorporated into
the migrated test.
Also improve readability and some string delimiters.
|
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #4822
Closes #4823
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash in assert_fails().
Solution: Check for NULL. (Dominique Pelle) Add a test.
https://github.com/vim/vim/commit/1abb502635c7f317e05a0cf3ea067101f9d684f5
|
|\ \ \ \
| | | | |
| | | | | |
implement timers and process events during sleep
|