aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.4731: the changelist index is not remembered per bufferzeertzjq2022-07-23
| | | | | | | | | | Problem: The changelist index is not remembered per buffer. Solution: Keep the changelist index per window and buffer. (closes vim/vim#10135, closes vim/vim#2173) https://github.com/vim/vim/commit/db0ea7f2b00c84d84f188c9e9953c4f1887528e7 Cherry-pick FOR_ALL_BUF_WININFO from patch 8.2.0500. Cherry-pick test_changelist.vim change from patch 8.2.3795.
* vim-patch:9.0.0047: using freed memory with recursive substitute (#19457)zeertzjq2022-07-21
| | | | | Problem: Using freed memory with recursive substitute. Solution: Always make a copy for reg_prev_sub. https://github.com/vim/vim/commit/32acf1f1a72ebb9d8942b9c9d80023bf1bb668ea
* vim-patch:8.2.4502 (#19439)zeertzjq2022-07-21
| | | | | | | | | | | | | vim-patch:8.2.4502: in the GUI a modifier is not recognized after CTRL-X Problem: In the GUI a modifier is not recognized for the key typed after CTRL-X, which may result in a mapping to be used. (Daniel Steinberg) Solution: Recognize a modifier starting with CSI. (closes vim/vim#9889) https://github.com/vim/vim/commit/d979d64fa269ff47a96fc6aed2f4cdd066753c0c Code is N/A. This just ports the test change. Test depends on README.txt in testdir. Add that file. Reorder test_ins_complete.vim to match upstream.
* test(old): set 'display' to an empty string (#19450)zeertzjq2022-07-20
|
* vim-patch:8.2.2632: not all command line arguments are testedzeertzjq2022-07-19
| | | | | | | | Problem: Not all command line arguments are tested. Solution: Add tests for -D and -serverlist. (Dominique Pellé, closes vim/vim#7992) https://github.com/vim/vim/commit/c5cf369e9543ff065e2e1da91da3218c223840e2 Cherry-pick two deletions from patch 8.2.1799.
* vim-patch:8.2.0509: various code is not properly tested.zeertzjq2022-07-19
| | | | | | | | | | Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5871) https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d Cherry-pick test_clientserver.vim change from patch 8.1.1826. Cherry-pick a comment from patch 8.2.0301. Omit test_viminfo.vim.
* vim-patch:8.2.1147 (#19425)zeertzjq2022-07-19
| | | | | | | | | 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.
* vim-patch:9.0.0055 (#19392)Gregory Anders2022-07-17
| | | | | | | | vim-patch:9.0.0055: bitbake files are not detected Problem: Bitbake files are not detected. Solution: Add bitbake filetype detection by file name and contents. (Gregory Anders, closes vim/vim#10697) https://github.com/vim/vim/commit/fa49eb482729a5fe7da9c9a5ed8d14f68afa55c7
* vim-patch:8.2.2427: can still switch windows for 'completefunc'zeertzjq2022-07-17
| | | | | | | | | | Problem: Can still switch windows for 'completefunc'. Solution: Also disallow switching windows for other completions. https://github.com/vim/vim/commit/3eb6bd9c2b36dcce471bfb543c8d5488f1dc17a4 Assert E565 instead of E578. Need to assert a different string because patch 8.2.1919 hasn't been ported yet.
* vim-patch:8.2.2426: allowing 'completefunc' to switch windows causes troublezeertzjq2022-07-17
| | | | | | | | | | | | | | | | | | | | | | Problem: Allowing 'completefunc' to switch windows causes trouble. Solution: use "textwinlock" instead of "textlock". https://github.com/vim/vim/commit/28976e2accf11591c60e8a658a9e03544f0408b2 Assert E565 instead of E578. vim-patch:8.2.0670: cannot change window when evaluating 'completefunc' Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window. https://github.com/vim/vim/commit/6adb9ea0a6ca01414f4b591f379b0f829a8273c0 vim-patch:8.2.5029: "textlock" is always zero Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes vim/vim#10489) https://github.com/vim/vim/commit/cfe456543e840d133399551f8626d985e1fb1958
* vim-patch:8.2.2424: some tests are known to cause an error with ASANzeertzjq2022-07-17
| | | | | | | | | Problem: Some tests are known to cause an error with ASAN. Solution: Add CheckNotAsan. https://github.com/vim/vim/commit/97202d951685fc4d90085da676a90644cbf72571 Move CheckNotMSWindows to the right place. Omit test_memory_usage.vim: a Lua test is used for this file.
* vim-patch:8.2.1984: cannot use :vimgrep in omni completionzeertzjq2022-07-17
| | | | | | | | | Problem: Cannot use :vimgrep in omni completion, causing C completion to fail. Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes vim/vim#7292) https://github.com/vim/vim/commit/33aecb1f2c85711d53858b71f5f3c2cbe076435f Cherry-pick Test_resize_from_copen() indent change from patch 8.2.1432.
* vim-patch:8.2.0698: insert mode completion not fully testedzeertzjq2022-07-17
| | | | | | | | Problem: Insert mode completion not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6041) https://github.com/vim/vim/commit/f9ab52e155dc13f59b654d754041fe78e17b9074 Cherry-pick test_ins_complete.vim changes from patches 8.2.{0522,0615}.
* vim-patch:8.2.1040: not enough testing for movement commandszeertzjq2022-07-17
| | | | | | | | | Problem: Not enough testing for movement commands. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6313) https://github.com/vim/vim/commit/bdd2c290d3cda69e0046c42f0c651f60bc510a16 Cherry-pick test_functions.vim changes from patch 8.2.0183. Cherry-pick Test_normal18_z_fold() change from patch 8.2.0540.
* vim-patch:8.2.0655: search code not sufficiently testedzeertzjq2022-07-17
| | | | | | | | | Problem: Search code not sufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999) https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce Cherry-pick test_charsearch.vim change from patch 8.2.0448. Cherry-pick test_search.vim changes from patch 8.2.0619.
* vim-patch:8.2.2643: various code not covered by testszeertzjq2022-07-16
| | | | | | | | | Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995) https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649 Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}. Reorder test_undo.vim to match upstream.
* vim-patch:8.2.2608: character input not fully testedzeertzjq2022-07-16
| | | | | | | | Problem: Character input not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963) https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c Cherry-pick related changes from patches 8.2.{0433,0866}.
* vim-patch:8.2.0198: no tests for y/n promptzeertzjq2022-07-16
| | | | | | Problem: No tests for y/n prompt. Solution: Add tests. (Dominique Pelle, closes vim/vim#5564) https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67
* vim-patch:8.2.0052: more-prompt not properly testedzeertzjq2022-07-16
| | | | | | Problem: More-prompt not properly tested. Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404) https://github.com/vim/vim/commit/c6d539b67181ad573452e919e58ecbfa362f4c49
* vim-patch:8.2.1061: insufficient testing for src/window.c (#19384)zeertzjq2022-07-16
| | | | | | | 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.
* vim-patch:8.2.0542: no test for E386zeertzjq2022-07-15
| | | | | | | | Problem: No test for E386. Solution: Add a test. (Dominique Pelle, closes vim/vim#5911) https://github.com/vim/vim/commit/8832a3457831707286dd2d9252ba14a5f9fd4c60 Cherry-pick Test_search_errors() from patch 8.2.0448.
* vim-patch:8.2.0535: regexp patterns not fully testedzeertzjq2022-07-15
| | | | | | | | | | Problem: Regexp patterns not fully tested. Solution: Add more regexp tests and others. (Yegappan Lakshmanan, closes vim/vim#5901) https://github.com/vim/vim/commit/4d23c52824dd2f4577eb980e7d91feed34052755 Add missing Test_search_cmdline8(). Cherry-pick Test_invalid_regexp() from patch 8.2.0531.
* vim-patch:8.2.0403: when 'buftype' is "nofile" there is no overwrite checkzeertzjq2022-07-15
| | | | | | | | | | Problem: When 'buftype' is "nofile" there is no overwrite check. Solution: Also check for existing file when 'buftype' is set. (closes vim/vim#5807) https://github.com/vim/vim/commit/a3a9c8ef697bbf6f640cde99710b6f534f29f77d Nvim doesn't have buftype=popup and doesn't allow buftype=terminal for non-terminal buffer.
* vim-patch:8.2.0426: some errors were not tested forzeertzjq2022-07-15
| | | | | | | | Problem: Some errors were not tested for. Solution: Add tests. (Dominique Pelle, closes vim/vim#5824) https://github.com/vim/vim/commit/9b9be007e7d674f49fc2b650f840d08532b180ad Cherry-pick get_highest_fnum() from patch 8.1.1908 to make tests pass.
* vim-patch:8.0.1118: FEAT_WINDOWS adds a lot of #ifdefszeertzjq2022-07-15
| | | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS. https://github.com/vim/vim/commit/4033c55eca575777718c0701e26635a0cc47d907
* vim-patch:8.2.0482: channel and sandbox code not sufficiently testedzeertzjq2022-07-15
| | | | | | | | 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.
* vim-patch:8.2.0430: window creation failure not properly testedzeertzjq2022-07-15
| | | | | | Problem: Window creation failure not properly tested. Solution: Improve the test. (Yegappan Lakshmanan, closes vim/vim#5826) https://github.com/vim/vim/commit/5080b0a0470511bae6176a704d4591d1caba0d07
* vim-patch:9.0.0052: "zG" may throw an error if invalid character follows ↵zeertzjq2022-07-15
| | | | | | | | (#19368) Problem: "zG" may throw an error if invalid character follows. Solution: Pass the word length to valid_spell_word(). (Ken Takata, closes vim/vim#10737) https://github.com/vim/vim/commit/2ebcc35826bc2deb04e5fc6d73332f55783e7f52
* vim-patch:8.2.0926: cmdline test fails on Appveyorzeertzjq2022-07-14
| | | | | | Problem: Cmdline test fails on Appveyor. Solution: Add CR to the commands. (Naruhiko Nishino, closes vim/vim#6220) https://github.com/vim/vim/commit/951a2fb1b87af7e3be81e85a3769a17a13fd5040
* vim-patch:8.2.0921: CTRL-W T in cmdline window causes troublezeertzjq2022-07-14
| | | | | | | | | | Problem: CTRL-W T in cmdline window causes trouble. Solution: Disallow CTRL-W T in the cmdline window. Add more tests. (Naruhiko Nishino, closes vim/vim#6219) https://github.com/vim/vim/commit/4fdb8bd0546ac8d90560a4fad359a48667089d43 Test already passes in Nvim because of later patches. Move Test_cmdwin_jump_to_win() to the right place.
* vim-patch:8.2.0369: various Normal mode commands not fully testedzeertzjq2022-07-14
| | | | | | | | | | 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.
* vim-patch:8.2.0347: various code not covered by testszeertzjq2022-07-14
| | | | | | | | Problem: Various code not covered by tests. Solution: Add more test coverage. (Yegappan Lakshmanan, closes vim/vim#5720) https://github.com/vim/vim/commit/91ffc8a5f5c7b1c6979b3352a12ed779d11173a9 Test_Ex_echo_backslash() is not applicable to Vim enhanced Ex mode.
* vim-patch:8.2.0342: some code in ex_getln.c not covered by testszeertzjq2022-07-14
| | | | | | | | | | Problem: Some code in ex_getln.c not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5717) https://github.com/vim/vim/commit/0546d7df13b041833121b2d56036e1c62ea3b0c1 Nvim doesn't support imsearch=2, commenting out that line is enough. Test_Ex_append() is not applicable to Vim enhanced Ex mode. Omit test_iminsert.vim as previous patches to that file are N/A.
* vim-patch:8.2.0969: assert_equal() output for dicts is hard to figure out ↵zeertzjq2022-07-13
| | | | | | | (#19317) Problem: Assert_equal() output for dicts is hard to figure out. Solution: Only show the different items. https://github.com/vim/vim/commit/4a021dfbeee88ac09d07e257912485314ecdcabe
* vim-patch:8.2.5050: using freed memory when searching for pattern in pathzeertzjq2022-07-12
| | | | | | | | Problem: Using freed memory when searching for pattern in path. Solution: Make a copy of the line. https://github.com/vim/vim/commit/409510c588b1eec1ae33511ae97a21eb8e110895 Cherry-pick Test_def_search() -> Test_macro_search() from patch 8.2.0369
* vim-patch:8.2.0293: various Ex commands not sufficiently testedzeertzjq2022-07-12
| | | | | | | | | 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.
* vim-patch:8.2.0275: some Ex code not covered by testszeertzjq2022-07-12
| | | | | | 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
* vim-patch:8.2.2732: prompt for s///c in Ex mode can be wrongzeertzjq2022-07-12
| | | | | | Problem: Prompt for s///c in Ex mode can be wrong. Solution: Position the cursor before showing the prompt. (closes vim/vim#8073) https://github.com/vim/vim/commit/e5b0b98a90acf420bb611fc99534982c98d0645b
* vim-patch:8.2.0270: some code not covered by testszeertzjq2022-07-12
| | | | | | Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649) https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
* vim-patch:8.2.0203: :helptags and some other functionality not testedzeertzjq2022-07-12
| | | | | | 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
* test(old): test_timers.vim call timer_stopall() in SetUp() insteadzeertzjq2022-07-12
|
* vim-patch:8.1.1867: still a timer test that is flaky on Maczeertzjq2022-07-12
| | | | | | Problem: Still a timer test that is flaky on Mac. Solution: Loop with a sleep instead of one fixed sleep. https://github.com/vim/vim/commit/315244d85b9b8faae549b1700e8cc2e45eaa68ea
* vim-patch:8.1.1864: still a timer test that is flaky on Maczeertzjq2022-07-12
| | | | | | Problem: Still a timer test that is flaky on Mac. Solution: Adjust the sleep times. https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba
* vim-patch:8.1.1859: timer test sometimes fails on Maczeertzjq2022-07-12
| | | | | | Problem: Timer test sometimes fails on Mac. Solution: Show more info when it fails. https://github.com/vim/vim/commit/427dddf014fea1326ea7f8c0951b0667dc037409
* vim-patch:8.1.1855: another failing timer testzeertzjq2022-07-12
| | | | | | | | | Problem: Another failing timer test. Solution: Assert that timers are finished by the end of the test. Rename test functions to make them easier to find. https://github.com/vim/vim/commit/9a2fddcf04192a643dc97601d689c27f5bc5184f Use test_garbagecollect_now() in Test_timer_retain_partial() like Vim.
* vim-patch:8.2.0243: insufficient code coverage for ex_docmd.c functionszeertzjq2022-07-12
| | | | | | | | | 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.
* vim-patch:8.2.{0212,0250}zeertzjq2022-07-12
| | | | | | | | | | | | | | | vim-patch:8.2.0212: missing search/substitute pattern hardly tested Problem: Missing search/substitute pattern hardly tested. Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan, closes vim/vim#5579) https://github.com/vim/vim/commit/07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe vim-patch:8.2.0250: test_clear_search_pat() is unused Problem: test_clear_search_pat() is unused. Solution: Remove the function. (Yegappan Lakshmanan, closes vim/vim#5624) https://github.com/vim/vim/commit/4f5776c17cd86f904a7e2f92db297c73e28939b7
* test(old): align defaults to Vim before each test insteadzeertzjq2022-07-12
|
* vim-patch:8.2.3363: when :edit reuses the current buffer the alternate file ↵zeertzjq2022-07-11
| | | | | | | | | | | | is set (#19306) Problem: When :edit reuses the current buffer the alternate file is set to the same buffer. Solution: Only set the alternate file when not reusing the buffer. (closes vim/vim#8783) https://github.com/vim/vim/commit/b8bd2e6ebab03baf2672067067a599df69a278c0 Cherry-pick Test_cmdline_expand_special() from patches 8.2.{0243,2873}. Move Test_cmd_backtick() to the right place.
* Merge pull request #19305 from zeertzjq/vim-8.2.3530zeertzjq2022-07-10
|\ | | | | vim-patch:8.2.{3530,3531}: ":buf \{a}" fails while ":edit \{a}" works