aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | Merge pull request #13664 from ivechan/win_exectuteJan Edmund Lazo2021-05-07
|\ \ | | | | | | vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
| * | vim-patch:8.2.2340: win_execute() unexpectedly returns number zero when failingjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: win_execute() unexpectedly returns number zero when failing. Solution: Return an empty string. (closes vim/vim#7665) https://github.com/vim/vim/commit/37487e16da7877129edee8d11b9b7f5c8df312c6
| * | vim-patch:8.2.0137: crash when using win_execute() from a new tabjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Crash when using win_execute() from a new tab. Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512) https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
| * | vim-patch:8.1.2124: ruler is not updated if win_execute() moves cursorjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Ruler is not updated if win_execute() moves cursor. Solution: Update the status line. (closes vim/vim#5022) https://github.com/vim/vim/commit/345f28df5482cd35f5fa74b06443376379f113b0
| * | vim-patch:8.1.1832: win_execute() does not work in other tabjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() does not work in other tab. (Rick Howe) Solution: Take care of the tab. (closes vim/vim#4792) https://github.com/vim/vim/commit/820680b9ff1de8699156c7b060f97e5c0b87ad15
| * | vim-patch:8.1.1440: win_execute() test failsjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() test fails. Solution: Adjust the expected error number. Move to popup test. https://github.com/vim/vim/commit/2d247849ce612050ba1085df806746b23be1f0a3
| * | vim-patch:8.1.1418: win_execute() is not implemented yetjing2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
* | | vim-patch:8.1.1378: delete() can not handle a file name that looks like a ↵Shougo2021-05-07
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | vim-patch:8.2.2829: some comments are not correct or clearJan Edmund Lazo2021-05-06
| | | | | | | | | | | | | | | | | | Problem: Some comments are not correct or clear. Solution: Adjust the comments. Add test for cursor position. https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83
* | | vim-patch:8.2.2827: test file was not deletedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Test file was not deleted. Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172) https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
* | | vim-patch:8.2.2825: code in checkreadonly() not fully testedJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Code in checkreadonly() not fully tested. Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169) https://github.com/vim/vim/commit/2bf6034e5caf36b319148f46ba9a12e36c3bd41d
* | | vim-patch:8.2.2820: session file may divide by zeroJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Session file may divide by zero. Solution: Avoid writing difide by zero. (closes vim/vim#8162) https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1 Avoid typecasts if possible. Use PRIdLINENR, PRId64, to format line numbers.
* | | vim-patch:8.2.2819: finishing an abbreviation with multi-byte char may not workJan Edmund Lazo2021-05-05
| | | | | | | | | | | | | | | | | | Problem: Finishing an abbreviation with a multi-byte char may not work. Solution: Escape K_SPECIAL in the typed character. (closes vim/vim#8160) https://github.com/vim/vim/commit/4934ed34c3e2090d1963c89c629cd3ce81d3ecd1
* | | vim-patch:8.2.2788: Raku is now the only name what once was called perl6Jan Edmund Lazo2021-05-02
| | | | | | | | | | | | | | | | | | Problem: Raku is now the only name what once was called perl6. Solution: Adjust the filetype detection. (closes vim/vim#8120) https://github.com/vim/vim/commit/3f88e71fa2b8b1fc97f3c218989474ea8687d197
* | | vim-patch:8.2.1827: filetype detection does not test enough file namesJan Edmund Lazo2021-05-01
| | | | | | | | | | | | | | | | | | Problem: Filetype detection does not test enough file names. Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099) https://github.com/vim/vim/commit/10a1a534d1ae1d798bb695f9a521052ebbf1e289
* | | vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbersJan Edmund Lazo2021-04-28
| | | | | | | | | | | | | | | | | | Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers. Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144) https://github.com/vim/vim/commit/aaad995f8384a77a64efba6846c9c4ac99de0953
* | | vim-patch:8.2.2801: free Pascal makefile not recognizedJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | Problem: Free Pascal makefile not recognized. Solution: Add the fpcmake filetype. (Doug Kearns) https://github.com/vim/vim/commit/f6d9935a13a7b37272ad71761d3d86b7f40c3d5f
* | | vim-patch:8.2.2388: no easy way to get the maximum or mininum number valueJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | Problem: No easy way to get the maximum or mininum number value. Solution: Add v:numbermax and v:numbermin. https://github.com/vim/vim/commit/57d5a01cb45d6edb16c3835a49b42d6d8fc0163e
* | | vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problemsJan Edmund Lazo2021-04-27
| | | | | | | | | | | | | | | | | | | | | Problem: Mixing up "long long" and __int64 may cause problems. (John Marriott) Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize. https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
* | | vim-patch:1ff14ba24c4dJan Edmund Lazo2021-04-27
|/ / | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
* | vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and ↵Jan Edmund Lazo2021-04-22
| | | | | | | | | | | | | | | | | | | | | | | | 'splitright' (#14398) Problem: :mksession uses current value of 'splitbelow' and 'splitright' even though "options" is not in 'sessionoptions'. (Maxim Kim) Solution: Save and restore the values, instead of setting to the current value. (closes vim/vim#8119) https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d Patch v8.2.1682 is not ported. Replace "goto fail;" with "return FAIL;".
* | fix(oldtest): fix assert_match() for :buffers tSean Dewar2021-04-21
| | | | | | | | | | Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
* | vim-patch:8.2.1588: cannot read back the prompt of a prompt bufferSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851) https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803 Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e and removed mention of method syntax usage (not supported by Nvim).
* | oldtest: port test_prompt_buffer.vimSean Dewar2021-04-21
|/ | | | | Included from before v8.2.1588. Required for v8.2.1588. Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
* Merge pull request #12323 from da-x/orphaned-signsMatthieu Coudron2021-04-18
|\ | | | | Handle 'orphaned signs' on line deletion for signcolumn >= 2
| * test_signs.vim: adjust for sign removal on line deletionDan Aloni2021-04-17
| |
* | vim-patch:8.2.2773: PSL filetype not recognized (#14389)Jan Edmund Lazo2021-04-17
|/ | | | | Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117) https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
* Merge pull request #14355 from janlazo/vim-8.1.2313Jan Edmund Lazo2021-04-15
|\ | | | | vim-patch:8.1.2313,8.2.{2046,2769}
| * vim-patch:8.2.2769: Modula-3 config files are not recognizedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | Problem: Modula-3 config files are not recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
| * vim-patch:8.2.2046: some test failures don't give a clear errorJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | Problem: Some test failures don't give a clear error. Solution: Use assert_match() and assert_fails() instead of assert_true(). (Ken Takata, closes vim/vim#7368) https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
* | vim-patch:8.2.2764: memory leak when default function argument is allocatedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | Problem: Memory leak when default function argument is allocated. Solution: Free the expression result. https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315
* | 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