aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.2761: using "syn include" does not work properlyJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | Problem: Using "syn include" does not work properly. Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, closes vim/vim#8104) https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199 Cherry-pick AssertHighlightGroups from patch v8.2.2068.
* | vim-patch:8.2.0265: "eval" after "if 0" doesn't check for following commandJan Edmund Lazo2021-04-15
|/ | | | | | | Problem: "eval" after "if 0" doesn't check for following command. Solution: Add "eval" to list of commands that check for a following command. (closes vim/vim#5640) https://github.com/vim/vim/commit/a76b31542e1d83b7d2fe7378439912e800a4d0f6
* test/old: ':execute' does not suppress range errorJan Edmund Lazo2021-04-11
| | | | | | | | | :2,1> should trigger backwards range error but it is suppressed for inccomand. :execute "2,1>" does not suppress the error.
* vim-patch:8.1.2416: loading menus sets v:errmsgJan Edmund Lazo2021-04-11
| | | | | | Problem: Loading menus sets v:errmsg. Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin) https://github.com/vim/vim/commit/e24c5b3332b453175e5f73423884087a4aef1247
* vim-patch:8.1.1841: no test for Ex shift commandsJan Edmund Lazo2021-04-11
| | | | | | | | Problem: No test for Ex shift commands. Solution: Add a test. (Dominique Pelle, closes vim/vim#4801) https://github.com/vim/vim/commit/d5e3cc11d391f3aa80bf66f91001f11a3a145b43 Comment out some tests because of Neovim inccomand.
* vim-patch:8.2.1920: listlbr test fails when run after another testJan Edmund Lazo2021-04-11
| | | | | | Problem: Listlbr test fails when run after another test. Solution: Add test separately to list of test targets. https://github.com/vim/vim/commit/cf4d454df0619ee41ef40e7e91fce3fb061d7d5b
* vim-patch:8.2.2050: search test contains unneeded sleepsJan Edmund Lazo2021-04-11
| | | | | | | Problem: Search test contains unneeded sleeps. Solution: Rename the function, remove sleeps. (Christian Brabandt, closes vim/vim#7369) https://github.com/vim/vim/commit/6bed0dbc8500be3ea751cc527a6ee89ca073a4d1
* vim-patch:8.2.0409: search test leaves file behindJan Edmund Lazo2021-04-11
| | | | | | | | Problem: Search test leaves file behind. Solution: Delete the file. Also use Check commands. https://github.com/vim/vim/commit/b68df220c5278365792b8f94d8d6f34d329b7746 Reorder tests based on test_search.vim in patch v8.2.0409.
* Merge pull request #14326 from janlazo/vim-8.2.0623Jan Edmund Lazo2021-04-09
|\ | | | | vim-patch:8.2.{623,1822,2738}
| * vim-patch:8.2.2738: extending a list with itself can give wrong resultJan Edmund Lazo2021-04-08
| | | | | | | | | | | | | | | | | | Problem: Extending a list with itself can give wrong result. Solution: Remember the item before where the insertion happens and skip to after the already inserted items. (closes vim/vim#1112) https://github.com/vim/vim/commit/dcae51facc4d6de1edd62f0242b40972be841103 Originated from Neovim commit 7ceebacb3fad49ba8321397cf839948caa55b3f5.
| * vim-patch:8.2.1822: list test doesn't failJan Edmund Lazo2021-04-08
| | | | | | | | | | | | | | | | | | | | | | Problem: List test doesn't fail. Solution: Adjust the test for NULL list handling. https://github.com/vim/vim/commit/f57497276bc616d3856eeff9824c080941faa51b Comment out test cases that modify null lists because Neovim throws error messages instead of silently failing. Null lists should be read-only and constant. https://github.com/neovim/neovim/issues/4615
| * vim-patch:8.2.0623: typo in test commentJan Edmund Lazo2021-04-08
| | | | | | | | | | | | | | | | Problem: Typo in test comment. (Christ van Willegen) Solution: Avoid mixing up a data structure with a body part. https://github.com/vim/vim/commit/f7b398c6a9476a2004a42555b731ebf47b866408 Cherry-pick Test_dict_lock_operator() from patch v8.2.0619.
* | vim-patch:8.2.2737: status line not updated when local 'statusline' option ↵bphilly962021-04-08
|/ | | | | | | set (#14325) Problem: Status line not updated when local 'statusline' option set. Solution: Check the 'statusline' option of each window. https://github.com/vim/vim/commit/d8db8383926cb8729417d9515cbfaf455dbbd8d1
* vim-patch:8.2.1305: some tests are still old styleJan Edmund Lazo2021-04-08
| | | | | | | | | | Problem: Some tests are still old style. Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan, closes vim/vim#6544) Fix error in FinishTesting(). https://github.com/vim/vim/commit/622b3568fa1baf07671d31390815fb0a55a99891 Omit test_mzscheme.vim. Neovim does not support "mzscheme" feature.
* vim-patch:8.2.1791: Vim9: debugger test failsJan Edmund Lazo2021-04-08
| | | | | | Problem: Vim9: debugger test fails. Solution: Use "var" instead of "let". https://github.com/vim/vim/commit/1bdae4032359081325578cc74739a0a097e008ff
* vim-patch:8.2.1508: not all debugger commands covered by testsJan Edmund Lazo2021-04-08
| | | | | | | Problem: Not all debugger commands covered by tests. Solution: Add tests for going up/down in the stack. (Ben Jackson, closes vim/vim#6765) https://github.com/vim/vim/commit/c63b72b6dc1347530ce906b462bb568994552c8b
* vim-patch:8.2.1393: insufficient testing for script debuggingJan Edmund Lazo2021-04-08
| | | | | | | | | Problem: Insufficient testing for script debugging. Solution: Add more tests. (Ben Jackson) https://github.com/vim/vim/commit/b7f4fa517793b0fe1a4895781b4cba451d60d7c2 Check terminal feature in individual tests, not the test suite. Avoid code coverage loss in test_debugger.vim.
* vim-patch:8.2.1304: debug backtrace isn't tested muchJan Edmund Lazo2021-04-08
| | | | | | | | Problem: Debug backtrace isn't tested much. Solution: Add more specific tests. (Ben Jackson, closes vim/vim#6540) https://github.com/vim/vim/commit/6ca6ca48898750dd55cad13c88a9c1dfd7fdaad5 Port runtest.vim fix from patch v8.2.1305.
* vim-patch:8.2.2714: filetype pattern ending in star is too far upJan Edmund Lazo2021-04-05
| | | | | | Problem: Filetype pattern ending in star is too far up. Solution: Move down to where patterns ending in star belong. (closes vim/vim#8065) https://github.com/vim/vim/commit/409da842db9dc24d88e415e518c02c05ac7de760
* vim-patch:8.2.2711: "gj" in a closed fold does not move out of the foldJan Edmund Lazo2021-04-05
| | | | | | | | | | | | | | | | | | | | | Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz) Solution: Add a check for being in a closed fold. (closes vim/vim#8062) https://github.com/vim/vim/commit/3c49e74e18993915a779cafe4af3749b39fd3e2a N/A patches for version.c: vim-patch:8.2.2709: the GTK GUI has a gap next to the scrollbar Problem: The GTK GUI has a gap next to the scrollbar. Solution: Calculate the scrollbar padding for GTK. (closes vim/vim#8027) https://github.com/vim/vim/commit/26af8e54ff0d423b7258ef84d175c8570740629a vim-patch:8.2.2717: GTK menu items don't show a tooltip Problem: GTK menu items don't show a tooltip. Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik, closes vim/vim#8067, closes vim/vim#7810) https://github.com/vim/vim/commit/ce5b06a6a972dcc36e460782e10e21a09b227b5d
* vim-patch:8.2.0295: highlighting for :s wrong when using different separator ↵Ghjuvan Lacambre2021-04-04
| | | | | | | | (#14286) Problem: Highlighting for :s wrong when using different separator. Solution: Use separat argument for search direction and separator. (Rob Pilling, closes vim/vim#5665) https://github.com/vim/vim/commit/c036e87bd7001238ab7cc5d9e30e59bbf989a5fd
* Merge pull request #14063 from lewis6991/masterJan Edmund Lazo2021-04-04
|\ | | | | vim-patch:8.1.{1631,1682,1899}: sign improvements
| * vim-patch:8.1.1899: sign_place() does not work as documentedLewis Russell2021-04-03
| | | | | | | | | | | | Problem: sign_place() does not work as documented. Solution: Make accept line numbers like line(). (Yegappan Lakshmanan, closes #4848)
| * vim-patch:8.1.1682: placing a larger number of ...Lewis Russell2021-04-03
| | | | | | | | | | | | | | | | ...signs is slow Problem: Placing a larger number of signs is slow. Solution: Add functions for dealing with a list of signs. (Yegappan Lakshmanan, closes #4636)
* | vim-patch:8.2.2702: compiler completion test fails when more scripts are addedJan Edmund Lazo2021-04-03
|/ | | | | | Problem: Compiler completion test fails when more scripts are added. Solution: Add a more generic pattern. https://github.com/vim/vim/commit/c17ba791a9edfa12926ce29f1eef39044bee5ab7
* vim-patch:8.2.2694: when 'matchpairs' is empty every character beeps (#14279)Jan Edmund Lazo2021-04-03
| | | | | | Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz) Solution: Bail out when no character in 'matchpairs' was found. (closes vim/vim#8053) Add assert_nobeep(). https://github.com/vim/vim/commit/5b8cabfef7c3707f3e53e13844d90e5a217e1e84
* vim-patch:8.2.2690: PowerShell files are not recognized (#14276)Jan Edmund Lazo2021-04-02
| | | | | | | | | | | | | | | | | | | | | Problem: PowerShell files are not recognized. Solution: Recognize several PowerShell extension. (Heath Stewart, closes vim/vim#8051) https://github.com/vim/vim/commit/ef38bcf05196ad7e795dd77b4922fa9db58fc310 N/A patches for version.c: vim-patch:8.2.2689: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl. https://github.com/vim/vim/commit/160a2b4dac198f31fbcff9d696548e011c4602c1 vim-patch:8.2.2691: autoconf may mess up compiler flags Problem: Autoconf may mess up compiler flags. Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov, closes vim/vim#8049) https://github.com/vim/vim/commit/3fa5e64e0ed55de718e48d0268edc360b2352bc1
* vim-patch:8.2.2686: status line is not updated when going to cmdline modeJan Edmund Lazo2021-04-01
| | | | | | | | Problem: Status line is not updated when going to cmdline mode. Solution: Redraw status lines if 'statusline' is set and going to status line mode. (based on patch from Justin M. Keyes et al., closes vim/vim#8044) https://github.com/vim/vim/commit/ce0b75711afb3ff260967a0843bca46ec09604b5
* vim-patch:8.1.0986: rename() is not propertly testedJan Edmund Lazo2021-04-01
| | | | | | | | | | | | | | | | | | | | | | Problem: rename() is not propertly tested. Solution: Add tests. (Dominique Pelle, closes vim/vim#4061) https://github.com/vim/vim/commit/ef8c956172aa967f67c524cb9609a4d390d74b82 Skip Test_rename_fails() because 'blob' feature is not ported yet. N/A patches for version.c: vim-patch:8.2.2678: test for 'autoshelldir' does not reset the option Problem: Test for 'autoshelldir' does not reset the option. Solution: Reset the option after testing. https://github.com/vim/vim/commit/82820d9bf14ba5374c24fff2ed6e577a67c6ddf2 vim-patch:8.2.2683: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/b91d3f857fb6aadbbc01f80f775967bb40d361de
* test/old/win: debug Test_w_argJan Edmund Lazo2021-04-01
|
* vim-patch:8.2.2656: some command line arguments and regexp errors not testedJan Edmund Lazo2021-04-01
| | | | | | | | Problem: Some command line arguments and regexp errors not tested. Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8013) https://github.com/vim/vim/commit/a2b3e7dc9201fb3d8782c6b4ab53862160e254da Cherry-pick Test_t_arg() from patch v8.2.0509.
* vim-patch:8.2.2655: The -w command line argument doesn't workJan Edmund Lazo2021-04-01
| | | | | | | | Problem: The -w command line argument doesn't work. Solution: Don't set 'window' when set with the -w argument. (closes vim/vim#8011) https://github.com/vim/vim/commit/0a1a6a1aa4004d0e4d64cc375540156b8bd92a87 Cherry-pick Test_w_arg() from patch v8.2.0509.
* vim-patch:8.1.1193: typos and small problems in test filesJan Edmund Lazo2021-03-30
| | | | | | | | | Problem: Typos and small problems in test files. Solution: Small improvements. https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5 Include unmerged patch v8.0.1200 changes because this patch depends on `set beloff=all` removed in 1 test.
* vim-patch:8.2.2454: leading space can not be made visible (#14138)zeertzjq2021-03-29
| | | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes vim/vim#7772) https://github.com/vim/vim/commit/91478ae49a1b2dc1de63821db731a343e855dcc0
* Merge pull request #14248 from andymass/vim-8.2.2612Jan Edmund Lazo2021-03-29
|\ | | | | [RFC] vim-patch 8.2.{2612,2613}
| * vim-patch:8.2.2613: new test throws exceptionAndy K. Massimino2021-03-29
| | | | | | | | | | | | Problem: New test throws exception. Solution: Adjust the function cleanup. https://github.com/vim/vim/commit/6ccfd99b923cc3452a6e6450dfdd7e31ea602dfd
| * vim-patch:8.2.2612: col('.') may get outdated column valueAndy K. Massimino2021-03-29
| | | | | | | | | | | | | | Problem: col('.') may get outdated column value. Solution: Add a note to the help how to make this work and add a test for it. (closes vim/vim#7971) https://github.com/vim/vim/commit/18b7d86d7fa997bbb02a069dafacb32a0f73ca1e
* | vim-patch:8.2.1621: crash when using submatch(0, 1) in substitute()Jan Edmund Lazo2021-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using submatch(0, 1) in substitute(). Solution: Increment reference count. (closes vim/vim#6887) https://github.com/vim/vim/commit/8a0dcf43305586853f452a77fa295b0c8d54b463 N/A patches for version.c: vim-patch:8.2.2674: Motif: cancelling the font dialog resets the font Problem: Motif: cancelling the font dialog resets the font. Solution: When no font is selected to not change the font. (closes vim/vim#7825, closes vim/vim#8035) Fix compiler warnings. https://github.com/vim/vim/commit/9dbe701fe19597ad59c0e0c70a05927b587bea9f
* | test/old: run most tests in test_regexp_latin.vimJan Edmund Lazo2021-03-29
| | | | | | | | | | | | Most tests here don't depend on 'set encoding=latin1'. Skip Test_recursive_addstate() because of ASAN build.
* | vim-patch:8.1.0958: compiling weird regexp pattern is very slowJan Edmund Lazo2021-03-29
|/ | | | | | | | | | Problem: Compiling weird regexp pattern is very slow. Solution: When reallocating post list increase size by 50%. (Kuang-che Wu, closes vim/vim#4012) Make assert_inrange() accept float values. https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987 Omit changes to typval_compare() because patch v8.0.1505 was not ported.
* vim-patch:8.1.0542: shiftwidth() does not take 'vartabstop' into accountVVKot2021-03-28
| | | | | | | | Problem: shiftwidth() does not take 'vartabstop' into account. Solution: Use the cursor position or a position explicitly passed. Also make >> and << work better with 'vartabstop'. (Christian Brabandt) https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
* vim-patch:8.1.0479: failure when setting 'varsofttabstop' to end in a commaVVKot2021-03-28
| | | | | | | | Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf Schandl) Solution: Reject value with trailing command. Add test for invalid values (closes vim/vim#3544) https://github.com/vim/vim/commit/64f410742f101d7d5ea9e65503e1e0019605eaa5
* vim-patch:8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"VVKot2021-03-28
| | | | | | Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1". Solution: Fall back to using 'tabstop'. (closes vim/vim#3155) https://github.com/vim/vim/commit/c9fe5ab3b093803b6e8d03358ba16aca6b6f0db1
* vim-patch:8.1.0138: negative value of 'softtabstop' not used correctlyVVKot2021-03-28
| | | | | | Problem: Negative value of 'softtabstop' not used correctly. Solution: Use get_sts_value(). (Tom Ryder) https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
* vim-patch:8.1.0126: various problems with 'vartabstop'VVKot2021-03-28
| | | | | | | Problem: Various problems with 'vartabstop'. Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian Brabandt, closes vim/vim#3076) https://github.com/vim/vim/commit/307ac5c68e9e624ab713136d79f35bb73f780d2d
* vim-patch:8.1.0116: display problem with 'vartabstop' and 'linebreak'VVKot2021-03-28
| | | | | | | Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca Fuentes) Solution: Call tabstop_padding(). (Christian Brabandt, closes vim/vim#3076) https://github.com/vim/vim/commit/a87b72cc316e065d66dcbcf7ec1cde330adef3a3
* vim-patch:8.1.0105: all tab stops are the sameVVKot2021-03-28
| | | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes vim/vim#2711) https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
* test/old: skip Test_strptime() on WindowsJan Edmund Lazo2021-03-27
| | | | | | | | | | | POSIX strptime does not exist in Windows. There is a C++ workaround but I don't know how to use it. Julia ported BSD's "strptime()" but I can't compile the file or embed the relevant code into src/nvim/os/time.c I cannot use "#ifdef" in eval.lua because of function hashing. "#ifdef" is required to point "strptime()" to NULL such that "CheckFunction strptime" fails.
* vim-patch:8.2.0949: strptime() does not use DSTJan Edmund Lazo2021-03-27
| | | | | | Problem: Strptime() does not use DST. Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230) https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
* vim-patch:8.1.2398: strptime() test fails on Japanese MacJan Edmund Lazo2021-03-27
| | | | | | Problem: strptime() test fails on Japanese Mac. Solution: Use %T instead of %X. https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765