aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* oldtests: use LoadAdjust() on timer testJan Edmund Lazo2019-03-17
|
* vim-patch:8.1.1011: indent from autoindent not removed #9742Jan Edmund Lazo2019-03-17
| | | | | Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) Solution: Do not reset did_ai when text follows. (closes vim/vim#4119) https://github.com/vim/vim/commit/2ba4238818ca5ea52334de3037ef3729584cebf5
* oldtests: wait 200ms on mac for timer testJan Edmund Lazo2019-03-16
|
* vim-patch:8.1.0019: error when defining a Lambda with index of a function resultJan Edmund Lazo2019-03-15
| | | | | | | Problem: Error when defining a Lambda with index of a function result. Solution: When not evaluating an expression and skipping a function call, set the return value to VAR_UNKNOWN. https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
* vim-patch:8.1.0728: avoid breaking after single space #9733Jan Edmund Lazo2019-03-15
| | | | | Problem: Cannot avoid breaking after a single space. Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder) https://github.com/vim/vim/commit/c3c3158756ae074052b0db2a3e3a7ba192df5330
* vim-patch:8.1.0671: cursor in wrong column after auto-format #9729Jan Edmund Lazo2019-03-14
| | | | | Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes vim/vim#3748) https://github.com/vim/vim/commit/e1e714ef0d1f4bb8b1712795e9106e3b4ff4c7bd
* vim-patch:8.0.1447: still too many old style tests (#9725)Jan Edmund Lazo2019-03-14
| | | | | | | | | Problem: Still too many old style tests. Solution: Turn a few tests into new style. (Yegappan Lakshmanan, closes vim/vim#2509) https://github.com/vim/vim/commit/cada78975eebc47f9b12de1a471639b5afd9ad2f Exclude test_shortpathname.vim. nvim does not support 8.3 filenames on Windows.
* TextYankPost: add v:event["inclusive"] #9717Justin M. Keyes2019-03-13
|
* vim-patch:8.1.1002: "gf" on URL with port number #9705Jan Edmund Lazo2019-03-10
| | | | | | Problem: "gf" does not always work when URL has a port number. (Jakob Schöttl) Solution: When a URL is recognized also accept ":". (closes vim/vim#4082) https://github.com/vim/vim/commit/cbef8e1aa1f260ffde16491b1678eae53a36cf68
* vim-patch:8.1.0994: fix relative cursor position #9676Justin M. Keyes2019-03-09
| | | | | | Problem: Relative cursor position is not calculated correctly. Solution: Always set topline, also when window is one line only. (Robert Webb) Add more info to getwininfo() for testing. https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
* vim-patch:8.0.1372: profile log may be truncated halfway a characterJan Edmund Lazo2019-03-08
| | | | | | | | Problem: Profile log may be truncated halfway a character. Solution: Find the start of the character. (Ozaki Kiichi, closes vim/vim#2385) https://github.com/vim/vim/commit/ac112f01a6930c9d15cf0360b657373699916bfd nvim does not support "--clean" yet but "-es" should suffice for the test.
* Merge #9662 'vim-patch:8.0.{0643-0646}'Justin M. Keyes2019-03-08
|\
| * vim-patch:8.0.0646: the hlsearch test fails on fast systemsBilly Su2019-03-08
| | | | | | | | | | | | | | Problem: The hlsearch test fails on fast systems. Solution: Make the search pattern slower. Fix that the old regexp engine doesn't timeout properly. https://github.com/vim/vim/commit/0946326580e6f034fe2c88d041407ea0fde980ab
| * vim-patch:8.0.0645: no error for illegal back reference in NFA engineBilly Su2019-03-07
| | | | | | | | | | | | | | Problem: The new regexp engine does not give an error for using a back reference where it is not allowed. (Dominique Pelle) Solution: Check the back reference like the old engine. (closes vim/vim#1774) https://github.com/vim/vim/commit/1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e
| * vim-patch:8.0.0644: the timeout for 'hlsearch' is not testedBilly Su2019-03-07
| | | | | | | | | | | | Problem: There is no test for 'hlsearch' timing out. Solution: Add a test. https://github.com/vim/vim/commit/5b1affefd0e96154517ec6f71300086ae6d22d24
* | oldtests: set shellslash in Test_true_false_arg()Jan Edmund Lazo2019-03-08
| |
* | oldtests: set shellslash in Test_shellescape()Jan Edmund Lazo2019-03-08
| | | | | | | | Value of "&shell" does not affect "shellescape()".
* | vim-patch:8.1.0739: text objects in not sufficiently testedJan Edmund Lazo2019-03-07
| | | | | | | | | | | | Problem: Text objects in not sufficiently tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3795) https://github.com/vim/vim/commit/81b1ba4be57b4bfd7e53a6709b4f98758612ef5f
* | vim-patch:8.1.0998: getcurpos() unexpectedly changes "curswant"Jan Edmund Lazo2019-03-07
|/ | | | | | Problem: getcurpos() unexpectedly changes "curswant". Solution: Save and restore "curswant". (closes vim/vim#4069) https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
* vim-patch:8.1.0935: old regexp engine may use invalid buffer #9692Jan Edmund Lazo2019-03-07
| | | | | | Problem: Old regexp engine may use invalid buffer for 'iskeyword' or uninitialized buffer pointer. (Kuang-che Wu) Solution: Set rex.reg_buf when compiling the pattern. (closes vim/vim#3972) https://github.com/vim/vim/commit/8bfd9469cef536f171e6666f9d9217192e09d161
* vim-patch:8.1.0875: not all errors of marks and findfile()/finddir() are testedJan Edmund Lazo2019-03-05
| | | | | | Problem: Not all errors of marks and findfile()/finddir() are tested. Solution: Add more test coverage. (Dominique Pelle) https://github.com/vim/vim/commit/71b13e92ae580038b8aecbb783296c577ca2ba5a
* vim-patch:8.1.0891: substitute command inssuficiently testedJan Edmund Lazo2019-03-05
| | | | | | Problem: Substitute command inssuficiently tested. Solution: Add more test coverage. (Dominique Pelle) https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
* vim-patch:8.1.0971: failure to select quoted text obj moves cursor #9658Pierre2019-03-03
| | | | | | | | closes #9640 Problem: Failure for selecting quoted text object moves cursor. Solution: Restore the Visual selection on failure. (Christian Brabandt, closes vim/vim#4024) https://github.com/vim/vim/commit/55d3bdbbe2bfc7a78b4aa17763788dbddf87cab0
* vim-patch:8.1.0973: pattern with syntax error gives threee error messagesJustin M. Keyes2019-03-01
| | | | | | | | Problem: Pattern with syntax error gives threee error messages. (Kuang-che Wu) Solution: Remove outdated internal error. Don't fall back to other engine after an error. https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
* vim-patch:8.1.0965: search test failsJustin M. Keyes2019-03-01
| | | | | | Problem: Search test fails. Solution: Wait a bit longer for the 'ambiwidth' redraw. https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
* vim-patch:8.1.0963: illegal memory access when using 'incsearch'Justin M. Keyes2019-03-01
| | | | | | Problem: Illegal memory access when using 'incsearch'. Solution: Reset highlight_match when changing text. (closes vim/vim#4022) https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
* vim-patch:8.1.0985: crash with large number in regexpJustin M. Keyes2019-02-28
| | | | | | Problem: Crash with large number in regexp. (Kuang-che Wu) Solution: Check for long becoming negative int. (closes #) https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
* vim-patch:8.1.0980: extend() insufficiently tested (#9646)Jan Edmund Lazo2019-02-25
| | | | | Problem: extend() insufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#4040) https://github.com/vim/vim/commit/58d63a0a2364e1f06a80550f9f5038145b339171
* vim-patch:8.1.0225: mode() does not indicate using CTRL-O from Insert mode ↵Justin M. Keyes2019-02-24
| | | | | | | (#9644) Problem: Mode() does not indicate using CTRL-O from Insert mode. Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000) https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
* vim-patch:8.1.0959: sorting large numbers is not tested (#9641)Jan Edmund Lazo2019-02-23
| | | | | | Problem: Sorting large numbers is not tested and does not work properly. Solution: Add test. Fix comparing lines with and without a number. (Dominique Pelle, closes vim/vim#4017) https://github.com/vim/vim/commit/a25e3d06956f1bc11c68fe60149acce2d8547092
* Merge #9626 from janlazo/vim-8.1.0926Justin M. Keyes2019-02-18
|\
| * vim-patch:8.1.0276: no test for 'incsearch' highlighting with :sJan Edmund Lazo2019-02-17
| | | | | | | | | | | | Problem: No test for 'incsearch' highlighting with :s. Solution: Add a screendump test. https://github.com/vim/vim/commit/164251ff805e89a3d9a850a77e3139e28908f44a
| * vim-patch:8.1.0387: no test for 'ambiwidth' detectionJan Edmund Lazo2019-02-17
| | | | | | | | | | | | Problem: No test for 'ambiwidth' detection. Solution: Add a test. https://github.com/vim/vim/commit/24839edc54e985ed88d063513226922a6f5b7554
| * vim-patch:8.1.0668: no test for overstrike mode in the command lineJan Edmund Lazo2019-02-17
| | | | | | | | | | | | Problem: No test for overstrike mode in the command line. Solution: Add a test. (Dominique Pelle, closes vim/vim#3742) https://github.com/vim/vim/commit/c0676bab92bd6488e17d05a4a70dfff993ef524e
| * vim-patch:8.1.0926: no test for :wnext, :wNext and :wpreviousJan Edmund Lazo2019-02-17
| | | | | | | | | | | | Problem: No test for :wnext, :wNext and :wprevious. Solution: Add a test. (Dominique Pelle, closes vim/vim#3963) https://github.com/vim/vim/commit/e93e5a504f481bd0dad9c504d5fcf0e5f0dfc6e6
* | vim-patch:8.1.0937: invalid memory access in search patternJan Edmund Lazo2019-02-17
| | | | | | | | | | | | | | Problem: Invalid memory access in search pattern. (Kuang-che Wu) Solution: Check for incomplete collation element. (Dominique Pelle, closes vim/vim#3985) https://github.com/vim/vim/commit/f1b57ab2ab18032d19f64bff7d22f3adb3fe93f7
* | vim-patch:8.1.0934: invalid memory access in search patternJan Edmund Lazo2019-02-17
| | | | | | | | | | | | Problem: Invalid memory access in search pattern. (Kuang-che Wu) Solution: Check for incomplete equivalence class. (closes vim/vim#3970) https://github.com/vim/vim/commit/985079c514e9ab85598b7bca019c77d3e42526f5
* | vim-patch:8.1.0945: internal error when using pattern with NL in the rangeJan Edmund Lazo2019-02-17
|/ | | | | | | Problem: Internal error when using pattern with NL in the range. Solution: Use an actual newline for the range. (closes vim/vim#3989) Also fix error message. (Dominique Pelle) https://github.com/vim/vim/commit/a5483448cba6997517003a22a8029f0de1007d0e
* vim-patch:8.1.0932: remove Farsi support (#9622)Justin M. Keyes2019-02-17
| | | | | Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support. https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f
* vim-patch:8.1.0803: session restore: handle single quotes #9620Marco Hinz2019-02-17
| | | | | | | | | Problem: Session file has problem with single quote in file name. (Jon Crowe) Solution: Use a double quoted string. Add a test. https://github.com/vim/vim/commit/ad36a3588d32985ee27bd11aa97e5195ef623158 Fixes https://github.com/neovim/neovim/issues/9618
* vim-patch:8.1.0852: findfile() and finddir() are not properly tested (#9609)Jan Edmund Lazo2019-02-13
| | | | | Problem: findfile() and finddir() are not properly tested. Solution: Extend the test and add more. (Dominique Pelle, closes vim/vim#3880) https://github.com/vim/vim/commit/ed71ed37bcd44bcbfcf59beee1248799de3315ec
* vim-patch:8.0.1045: running tests may pollute shell historyJan Edmund Lazo2019-02-02
| | | | | | Problem: Running tests may pollute shell history. (Manuel Ortega) Solution: Make $HISTFILE empty. https://github.com/vim/vim/commit/6a8691d483914606213a24356a9124fa41c93b69
* Merge #9539 "options: make 'listchars' and 'fillchars' local to window"Marco Hinz2019-01-28
|\
| * vim-patch:8.1.0759: showing two characters for tab is limitedMarco Hinz2019-01-26
| | | | | | | | | | | | | | | | Problem: Showing two characters for tab is limited. Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel Braun, Ken Takata, closes vim/vim#3810) https://github.com/vim/vim/commit/83a52171ba00b2b9fd2d1d22a07e38fc9fc69c1e
* | vim-patch:8.0.0413: menu test fails on MS-Windows #8173ckelsel2019-01-27
| | | | | | | | | | | | Problem: Menu test fails on MS-Windows using gvim. Solution: First delete the English menus. https://github.com/vim/vim/commit/a1c8ecfda90c0e0e519762ae0521d7f6e297c32e
* | vim-patch:8.0.0412: menu test fails on MS-WindowsJan Edmund Lazo2019-01-26
| | | | | | | | | | | | Problem: Menu test fails on MS-Windows. Solution: Use a menu entry with only ASCII characters. https://github.com/vim/vim/commit/5558d19432120696409c007c64d5ba52eed42670
* | vim-patch:8.0.0411: menu translations don't match when case is changed.Jan Edmund Lazo2019-01-26
|/ | | | | | Problem: We can't change the case in menu entries, it breaks translations. Solution: Ignore case when looking up a menu translation. https://github.com/vim/vim/commit/11dd8c1201033dd74e2ea665ba277425b4b965b0
* tests: load-adjust timer tests (oldtest)Marco Hinz2019-01-17
|
* tests: fix Test_help_tagjump()Marco Hinz2019-01-17
| | | | | | | | | | | | | | | | | | | The Vim version of Test_help_tagjump() tests for `:help sm?le` here. That command got removed from Nvim, so the test was changed to check against `:help sp?it` instead. The new test already handled the case that on Win `:h split` would jump to the entry for split() and on all other systems to the entry for :split. Then this commit happened: bb3aa824b lua/stdlib: vim.inspect, string functions Since then `:h split` would jump to split() for macOS as well! I'm not sure why. Anyway, instead of adding another check for has('mac'), we change the test once more to be more akin to the original test. Instead of testing for :smile, which is exclusive to Vim, we check against :checkhealth, which is exclusive to Nvim.
* vim-patch:8.1.0449: fix display of 'rnu' with folded lines #9481Michael Vilim2019-01-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'rnu' is set folded lines are not displayed correctly. (Vitaly Yashin) Solution: When only redrawing line numbers do draw folded lines. (closes vim/vim#3484) https://github.com/vim/vim/commit/7701f308565fdc7b5096a6597d9c3b63de0bbcec --- Explanation: Before this patch, relative line numbers would update on a cursor movement and overwrite fold highlighting in the line number columns. Other operations can cause the fold highlighting to overwrite the line number styles. Together, this causes the highlighting in the line number columns to flicker back and forth while editing. Test case: create `t.vim` with these contents: set fdm=marker rnu foldcolumn=2 call setline(1, ["{{{1", "nline 1", "{{{1", "line 2"]) and then call `nvim -u NORC -S t.vim` and press `j`; observe that the fold highlighting disappears.