| 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: Duplicate arguments are not always detected.
Solution: Expand to full path before comparing arguments. (Nir Lichtman,
closes vim/vim#11505, closes vim/vim#9402)
https://github.com/vim/vim/commit/b3052aa1b555ab5a81b1459a4972290381b0e7e4
Co-authored-by: Nir Lichtman <nir@lichtman.org>
|
| |
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes vim/vim#6167)
https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
|
| |
|
| |
Co-authored-by: Marco Lehmann <m99@posteo.de>
|
| |
|
|
|
| |
Problem: Not enough testing of the :all command.
Solution: Add more testing. (Yegappan Lakshmanan, closes vim/vim#11091)
https://github.com/vim/vim/commit/0dc2fd307ffc223cf010d1fdea6e3d5c4524d43c
|
| |
|
|
|
|
| |
Problem: Can define autocmd for every event by using "au!".
Solution: Check if a command is present also for "au!".
https://github.com/vim/vim/commit/b6db1467622be046dbf00b2213fd9f49f4f3cccb
|
| |
|
|
|
|
| |
Problem: Arglist test fails.
Solution: Adjust for locking the arglist for ":all".
https://github.com/vim/vim/commit/679140c56bbabf12a199d94f584b1b9dfc9809fd
|
| |
|
|
|
|
| |
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682
|
| |
|
|
|
|
|
|
| |
Problem: Crash when using :all while using a cmdline window. (Zdenek Dohnal)
Solution: Disallow :all from the cmdline window.
https://github.com/vim/vim/commit/bb4b93ed85726c3921596ca267f531c8c94d819a
Use test from lastest Vim instead.
|
| |
|
|
|
|
|
| |
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes vim/vim#6235)
https://github.com/vim/vim/commit/73a024209cbfbd5b39a2e974084d807c6131e2ed
Use latest index.txt :argdedupe doc from Vim.
|
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes vim/vim#8757)
https://github.com/vim/vim/commit/bfb2bb16bc69441fa3ec13caacb2c94637a8a0ec
|
| |
|
|
|
|
|
|
| |
Problem: A few failures are not tested.
Solution: Test a few failures. (Dominique Pellé, closes vim/vim#7075)
https://github.com/vim/vim/commit/afe8cf617013fd8c3f0189f1e1fa7a2a6a8f7511
Cherry-pick a line in Test_argdelete() from patch 8.2.1736.
|
| |
|
|
|
|
|
|
|
|
| |
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 Ex code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5659)
https://github.com/vim/vim/commit/406cd90f1963ca60813db91c413eef4b1b78ee44
|
| |
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Problem: Arglist test does not clear the argument list consistently.
Solution: Call Reset_arglist(). (Shougo Matsushita, closes vim/vim#9154)
https://github.com/vim/vim/commit/3cad47038547e694cfa26ba39c399f610d2054bd
|
| |
|
|
|
|
|
|
|
|
|
| |
Does not include listener_*() functions.
js_*() functions are N/A.
json_encode() and json_decode() didn't include tests; add some anyway
(to json_functions_spec.lua).
test_lua.vim isn't included yet, so add tests to luaeval_spec.lua.
|
| |
|
|
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/073e4b92e613d22ce7b16e0fbf5c0e40cb5f9b2c
test_popup.vim already has the changes from this patch (they're N/A
anyway).
|
| |
|
|
|
|
|
|
|
| |
like a pattern (#12784)"
This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145.
Unfortunately, that commit stalled the Windows builds on GHA and likely requires
other patches to work properly.
|
| |
|
|
|
|
|
|
| |
pattern (#12784)
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes vim/vim#4424, closes vim/vim#696)
https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
|
| |
|
|
|
|
|
| |
Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution: Don't re-use the current buffer when not going to edit the file.
(closes vim/vim#3397) Do re-use the current buffer for :next.
https://github.com/vim/vim/commit/32bbd00949c585ea1c9da13197279a175097eddd
|
| |
|
|
|
|
|
|
| |
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
Demin)
Solution: Make ":argdel" work like ":.argdel". (closes vim/vim#6727)
Also fix giving the error "0 more files to edit".
https://github.com/vim/vim/commit/7b22117c4ecf383b6f35acef041773a83ec28220
|
| |
|
|
|
|
| |
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
https://github.com/vim/vim/commit/a8eee21e75324d199acb1663cb5009e03014a13a
|
| |
|
|
|
|
| |
Problem: :argdo is not tested
Solution: Add a test.
https://github.com/vim/vim/commit/72e1b39111389001a20fbe8aa344ce2fe0a7e1a4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: :args output is not aligned.
Solution: Output a line break after the last item in a row.
https://github.com/vim/vim/commit/74da39373c90fcb390068903b5bbb93ce7ac16fa
vim-patch:8.1.1750: depending on the terminal width :version may miss a line break
Problem: Depending on the terminal width :version may miss a line break.
Solution: Add a line break when needed.
https://github.com/vim/vim/commit/8a5c29aee978345132ad7f318b8a84633c33905c
vim-patch:8.1.1760: extra line break for wrapping output of :args
Problem: Extra line break for wrapping output of :args.
Solution: Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737)
https://github.com/vim/vim/commit/9800bfe0fc7596e8fee97172139f0777bac639fb
|
| |
|
| |
This just moves the test to where it is in Vim.
|
| |
|
|
| |
This reverts commit ce1b4f95fe684082cc9fb7e7e018e4f7c04338c4.
|
| |
|
|
|
|
|
| |
Problem: Accessing invalid memory with long argument name.
Solution: Use item_count instead of checking for a terminating NULL.
(Dominique Pelle, closes vim/vim#3444)
https://github.com/vim/vim/commit/e961cba3cb8281c47f1dc2c2bc031b07504f17d4
|
| |
|
|
|
|
|
|
| |
Problem: :args command that outputs one line gives more prompt.
Solution: Only output line break if needed. (Daniel Hahler, closes vim/vim#4715)
https://github.com/vim/vim/commit/949f1989cba8bf7653316c2b1444c26f1536bfab
Closes https://github.com/neovim/neovim/pull/10147.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: ":args" output is hard to read.
Solution: Make columns with the names if the output is more than one line.
https://github.com/vim/vim/commit/5d69da462f584a3aefb3427b127334bf9af3a4b0
vim-patch:8.0.1740: warning for signed-unsigned incompatibility
Problem: Warning for signed-unsigned incompatibility.
Solution: Change type from "char *" to "char_u *". (John Marriott)
https://github.com/vim/vim/commit/405dadb63ea2b7aa4c8c659807506a35a8a9504c
Removes ported legacy test that was re-added later.
Ref: https://github.com/neovim/neovim/pull/10147#issuecomment-512609513
|
| |
|
|
|
|
| |
Problem: Xargadd file left behind after running test.
Solution: Delete the file. (Dominique Pelle)
https://github.com/vim/vim/commit/d339828b4b0dde662dc9ce65baf1cc098aec402c
|
| |
|
|
|
|
|
| |
Problem: :argedit does not reuse an empty unnamed buffer.
Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian Brabandt)
https://github.com/vim/vim/commit/46a53dfc29689c6a0d80e3820e8b0a48dba6b6ec
|
| |
|
|
|
|
|
| |
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes vim/vim#832)
https://github.com/vim/vim/commit/e6e3989c1b3f18907a0c305712b867e9a3821369
|
| |
|
|
|
|
| |
Problem: Arglist test fails on MS-windows.
Solution: Only use a file name with a double quote on Unix.
https://github.com/vim/vim/commit/3de8c2d1f027410db6a06f0fcd3355d96c8b8596
|
| |
|
|
|
|
| |
Problem: :args \"foo works like :args without argument.
Solution: Fix check for empty argument. (closes vim/vim#3728)
https://github.com/vim/vim/commit/2ac372ccee1af6f9fa105bf2648d5e4efa554236
|
| |
|
|
|
|
| |
Problem: Command line completion not sufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3622)
https://github.com/vim/vim/commit/b513d3079bbe3f59a1f1a3d6931939a76cd7e54a
|
|
|
We have a ported Lua version, but we should also keep the Vim version
around to make merging easier.
---
vim-patch:8.0.0723: arglist test fails if file name case is ignored
Problem: Arglist test fails if file name case is ignored.
Solution: Wipe existing buffers, check for fname_case property.
https://github.com/vim/vim/commit/9b50bba643f8d1fcac91e11780da7d03d8995260
|