| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
| |
Problem: Some buffer related code is not tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8320)
https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
| |
Problem: No need to check for BSD after checking for not root.
Solution: Remove CheckNotBSD. (Ozaki Kiichi, closes vim/vim#7989)
https://github.com/vim/vim/commit/4355894869355c185e7810e67d52802453576e81
|
| |
|
|
|
|
|
|
|
| |
Problem: Some tests fail when run as root.
Solution: Use CheckNotRoot.
https://github.com/vim/vim/commit/17709e280ac5ba234b04641cde88d38e3522cedf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: Tests fail when run as root.
Solution: Add a comment mentioning the expected failure. (issue vim/vim#7919)
https://github.com/vim/vim/commit/f9a65505d1d93f3e67e5b8646bde3bbc44c70f7d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53
Skip test_listener.vim, test_textprop.vim, test_viminfo.vim.
Skip test_python2.vim: affected line fails and hasn't been ported.
Skip test_python3.vim: affected lines fail and haven't been ported.
Skip CHECK_LIST_MATERIALIZE.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: Various code lines not covered by tests.
Solution: Add test cases. (Dominique Pellé, closes vim/vim#8178)
https://github.com/vim/vim/commit/6d37e8e3baafba460bd2d051170d213c1ba9a523
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Problem: Various code is not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8378)
https://github.com/vim/vim/commit/2d6d718dde7163c971d37b8f4f1ed8f2d25de130
Nvim does not support encoding=latin1 or compatible mode.
The two paste tests are applicable.
|
| |
|
|
|
|
| |
Problem: Not all options code is covered by tests.
Solution: Add more tests for options. (Yegappan Lakshmanan, closes vim/vim#8369)
https://github.com/vim/vim/commit/5958549760652c173b703613b9cbf09b25a4eddb
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem: Startup test fails.
Solution: Avoid an error for verbose expansion. Fix that the "0verbose"
command modifier doesn't work.
https://github.com/vim/vim/commit/60895f3e36def9beb7d5463e792e5154ad9a7a0a
Most code changes has already been ported.
|
| |
|
|
|
|
| |
Problem: ":write" fails after ":file name" and the ":edit".
Solution: Reset BF_NOTEDITED when using ":edit". (closes vim/vim#10790)
https://github.com/vim/vim/commit/1f0dc5e84f5cc530c0fb9d0789e3d42d644429d7
|
| |
|
|
|
|
|
|
|
| |
vim-patch:8.2.1147: :confirm may happen in cooked mode
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
https://github.com/vim/vim/commit/27321dbeedf8bb833c48b01bf18536125794f65e
Code is N/A, but this improves tests. Port the improved tests to Lua.
|
| |
|
|
|
|
|
| |
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345)
https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3
Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
|
| |
|
|
|
|
|
|
| |
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855)
https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751)
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Cherry-pick a fix from patch 8.2.3162.
Omit test_iminsert.vim as previous patches to that file are N/A, and
Nvim doesn't support iminsert=2 either, so that test isn't useful.
|
| |
|
|
|
|
|
|
|
| |
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5673)
https://github.com/vim/vim/commit/818fc9ad143911b2faa0d7cee86724aa70a02080
Needs to assert E170 instead of E580 because patch 8.2.3486 has been
ported but patch 8.2.1183 hasn't.
|
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649)
https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
|
| |
|
|
|
|
| |
Problem: :helptags and some other functionality not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5567)
https://github.com/vim/vim/commit/e20b9ececa37a81c0340a78f61e57fa1bf46b06d
|
| |
|
|
|
|
|
|
|
| |
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5618)
https://github.com/vim/vim/commit/9f6277bdde97b7767ded43a0b5a2023eb601b3b7
Cherry-pick Test_window_only() from patch 8.2.0203.
Cherry-pick a memory leak fix from patch 8.2.0399.
|
| |
|
| |
This can avoid divergences from Vim in some small places.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#19244)
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
https://github.com/vim/vim/commit/ff06f283e3e4b3ec43012dd3b83f8454c98f6639
Fix a mistake in the porting of patch 8.1.0098.
Cherry-pick Test_run_excmd_with_text_locked() from patch 8.2.0270.
Cherry-pick test_gf.vim changes from patch 8.2.0369.
Cherry-pick message change from later patches.
|
| |
|
|
|
| |
Problem: Cursor position may be invalid after "0;" range.
Solution: Check the cursor position when it was set by ";" in the range.
https://github.com/vim/vim/commit/4d97a565ae8be0d4debba04ebd2ac3e75a0c8010
|
| |
|
|
|
|
|
|
|
| |
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes vim/vim#9202)
https://github.com/vim/vim/commit/03725c5795ae5b8c14da4a39cd0ce723c6dd4304
Put E1247 in globals.h as E1240 is also there.
Do not make getdigits() abort.
|
| | |
|
| |
|
|
|
|
|
| |
Problem: First line not redrawn when adding lines to an empty buffer.
Solution: Adjust the argument to appended_lines(). (closes vim/vim#9439,
closes vim/vim#9438)
https://github.com/vim/vim/commit/1fa3de1ce806ba18ebcc00c6d9a0678a84735463
|
| |
|
|
|
|
|
|
|
| |
Problem: Some code is not tested.
Solution: Add some more tests. (Dominique Pellé, closes vim/vim#8735)
https://github.com/vim/vim/commit/bd9e7961256ea6a98bd5a7bfe14e32c4c47186e6
Include Test_confirm_write_partial_file() anyway, even though it will
not be run.
|
| |\
| |
| | |
vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
|
| | |
| |
| |
| |
| |
| | |
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551)
https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
|
| | |
| |
| |
| |
| |
| | |
Problem: Code in checkreadonly() not fully tested.
Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169)
https://github.com/vim/vim/commit/2bf6034e5caf36b319148f46ba9a12e36c3bd41d
|
| |/
|
|
|
| |
Previous pattern could cause test to fail if ":buffers t" reported
"1 second ago".
|
| |
|
|
|
|
|
| |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes vim/vim#2523)
https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1
Cherry-pick Test_winsize_cmd() from patch v8.2.0243.
|
| |\
| |
| | |
vim-patch:8.1.{1667,1672,1822},8.2.{407,917}
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Confusing error message when range is not allowed.
Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for
consistency.
https://github.com/vim/vim/commit/0acae7acc40b9f12bff88d5e1dae494a761fec07
|
| | |
| |
| |
| |
| |
| | |
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes vim/vim#5861)
https://github.com/vim/vim/commit/7b1b36b1cb744e87adfbef88b7ce26c863b0594a
|
| | |
| |
| |
| |
| |
| | |
Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution: Add an extra WaitForAssert(). (Dominique Pelle)
https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4
|
| | |
| |
| |
| |
| |
| | |
Problem: Missing feature check in test function.
Solution: Add check commands.
https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Test_confirm_cmd is flaky.
Solution: Add a term_wait() call. (closes vim/vim#5854)
https://github.com/vim/vim/commit/72749f062f15c7147f512bc581695c25ad78fb4e
Cherry-pick Test_confirm_cmd() from patch v8.2.0203
because that patch modifies multiple files.
Copied code is based on Test_confirm_cmd() as of patch v8.2.0456.
N/A patches for version.c:
vim-patch:8.2.2274: badge for Travis is outdated
Problem: badge for Travis is outdated.
Solution: Update badge for move from travis-ci.org to travis-ci.com.
https://github.com/vim/vim/commit/2f91e2f8da572123e53ae7579dde57c750137def
vim-patch:8.2.2277: missing backslash
Problem: Missing backslash.
Solution: Add backslash.
https://github.com/vim/vim/commit/9281c6cae4e1cec2c661487d761d407bad7c6ad6
|
| |
|
|
|
|
|
| |
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes vim/vim#4722)
https://github.com/vim/vim/commit/52410575be50d5c40bbe6380159df48cfc382ceb
|
|
|
Problem: ":dl" is seen as ":dlist" instead of ":delete".
Solution: Do not use cmdidxs2[] if the length is 1. (closes vim/vim#4721)
https://github.com/vim/vim/commit/94f82cbacf76767b5ac32f813e1d670501dbd0e6
|