aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0495: :filter only supports some commandsJan Edmund Lazo2019-07-15
| | | | | | | Problem: :filter only supports some commands. Solution: Add :filter support for more commands. (Marcin Szamotulski, closes vim/vim#2856) https://github.com/vim/vim/commit/f86db78fed78541cefdb706e4779ce5ae9ca7820
* Merge #10435 from Shougo/vim-8.1.1610Justin M. Keyes2019-07-13
|\
| * vim-patch:8.1.1611: bufadd() reuses existing buffer without a nameShougo Matsushita2019-07-06
| | | | | | | | | | | | Problem: Bufadd() reuses existing buffer without a name. Solution: When the name is empty always create a new buffer. https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e
| * vim-patch:8.1.1610: there is no way to add or load a buffer without side effectsShougo Matsushita2019-07-06
| | | | | | | | | | | | Problem: There is no way to add or load a buffer without side effects. Solution: Add the bufadd() and bufload() functions. https://github.com/vim/vim/commit/15e248e37f3925d430f96e945d52d3dc423cdc83
* | vim-patch:8.1.1660: assert_fails() inside try/catch #10472Daniel Hahler2019-07-13
| | | | | | | | | | Problem: Assert_fails() does not fail inside try/catch. Solution: Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639) https://github.com/vim/vim/commit/7780e5c1c5485a979ab6e3914a43e17912e213a8
* | oldtest: more compact output with "clean" target (#10477)Daniel Hahler2019-07-12
| | | | | | | | Previously it would be displayed across multiple lines (with the escaped newlines), while this makes it display in a single line.
* | vim-patch:8.1.1173: suspend test has duplicated lines (#10466)Daniel Hahler2019-07-11
| | | | | | | | | | Problem: Suspend test has duplicated lines. Solution: Use a function. https://github.com/vim/vim/commit/a8356bc1734195d130c6eeaf4858356ae3a3f722
* | vim-patch:8.1.1634: terminal test fails when term_getansicolors() is missingJan Edmund Lazo2019-07-05
| | | | | | | | | | | | | | Problem: Terminal test fails when term_getansicolors() is missing. Diff test fails without +rightleft. (Dominique Pelle) Solution: Check if term_getansicolors() is supported. (closes vim/vim#4597) https://github.com/vim/vim/commit/981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470
* | vim-patch:8.1.1614: 'numberwidth' can only go up to 10Jan Edmund Lazo2019-07-05
|/ | | | | | Problem: 'numberwidth' can only go up to 10. Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584) https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
* defaults: wildoptions=pum,tagfile #10384Justin M. Keyes2019-07-01
| | | ref #6289
* test/old: pass Test_recover_root_dir on Windows (#10207)Jan Edmund Lazo2019-07-01
| | | | | | | | | | | | | * Revert "oldtests: win: keep set dir=/" This reverts commit 714e0f8bf05cc6febcbcd8cbcbe5f119c37a14b0. * test/old: set swap directory to non-existent drive Appveyor uses Administrator user so it can write anywhere in C:\\. Neovim creates a directory for the swap file if the directory does not exist. D:\\ is the backup/recovery drive so use F:\\ invoke error E303.
* vim-patch:8.0.1259: search test can be flakyJan Edmund Lazo2019-06-28
| | | | | | | | Problem: Search test can be flaky. Solution: Use WaitFor() instead of a delay. Make it possible to pass a funcref to WaitFor() to avoid the need for global variables. (James McCoy, closes vim/vim#2282) https://github.com/vim/vim/commit/13deab8d08145c1f6e2a3e82cb547bc7f87a3686
* vim-patch:8.0.1238: incremental search only shows one matchJan Edmund Lazo2019-06-28
| | | | | | | Problem: Incremental search only shows one match. Solution: When 'incsearch' and and 'hlsearch' are both set highlight all matches. (haya14busa, closes vim/vim#2198) https://github.com/vim/vim/commit/2e51d9a0972080b087d566608472928d5b7b35d7
* vim-patch:8.1.1593: filetype not detected for C++ header files without extensionJan Edmund Lazo2019-06-25
| | | | | | | Problem: Filetype not detected for C++ header files without extension. Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin, closes vim/vim#4593) https://github.com/vim/vim/commit/6a7af8e2dbcb768a768831d9e6355c855c215ebc
* vim-patch:8.0.1535: C syntax test still fails when using gvimJan Edmund Lazo2019-06-24
| | | | | | Problem: C syntax test still fails when using gvim. Solution: Clear Normal cterm highlighting instead of setting it. https://github.com/vim/vim/commit/6acadda8d60892ddf06449f1cc4286912b0c0c2b
* Merge #10323 from janlazo/vim-8.1.1055Justin M. Keyes2019-06-25
|\ | | | | vim-patch:8.0.{1479,1480,1482},8.1.1055
| * vim-patch:8.0.1482: using feedkeys() does not work to test completionJan Edmund Lazo2019-06-24
| | | | | | | | | | | | | | | | Problem: Using feedkeys() does not work to test Insert mode completion. (Lifepillar) Solution: Do not check for typed keys when executing :normal or feedkeys(). Fix thesaurus completion not working when 'complete' is empty. https://github.com/vim/vim/commit/02ae9b4a93deea4993d7abe20485f91f1cce5e36
| * vim-patch:8.1.1055: CTRL-G U in Insert mode doesn't work for shift-LeftJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | Problem: CTRL-G U in Insert mode doesn't work to avoid splitting the undo sequence for shift-left and shift-right. Solution: Also check dont_sync_undo for shifted cursor keys. (Christian Brabandt) https://github.com/vim/vim/commit/75bf3d22f42684beecd977f3185e98045b5c33d9
* | Merge #10250 from blueyed/vim-8.0.1039Justin M. Keyes2019-06-25
|\ \ | | | | | | vim-patch:8.0.{10{39,53,55},1274}: cannot change a line in not current buffer
| * | vim-patch:8.0.1274: setbufline() fails when using foldingDaniel Hahler2019-06-18
| | | | | | | | | | | | | | | | | | Problem: setbufline() fails when using folding. Solution: Set "curwin" if needed. (Ozaki Kiichi, closes vim/vim#2293) https://github.com/vim/vim/commit/0c4dc88a637a5027209aa00226996af84e248636
| * | vim-patch:8.0.1055: bufline test hangs on MS-WindowsDaniel Hahler2019-06-18
| | | | | | | | | | | | | | | | | | | | | Problem: Bufline test hangs on MS-Windows. Solution: Avoid message for writing file. Source shared.vim when running test individually. https://github.com/vim/vim/commit/11aa62f8f949bb590b4d7792a334885fba5e4137
| * | vim-patch:8.0.1053: setline() does not work on startupDaniel Hahler2019-06-18
| | | | | | | | | | | | | | | | | | | | | Problem: setline() does not work on startup. (Manuel Ortega) Solution: Do not check for ml_mfp to be set for the current buffer. (Christian Brabandt) https://github.com/vim/vim/commit/9d954207e2cc807b475bb04f8b59ef5bb3772d99
| * | vim-patch:8.0.1039: cannot change a line in not current bufferDaniel Hahler2019-06-17
| | | | | | | | | | | | | | | | | | Problem: Cannot change a line in a buffer other than the current one. Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes vim/vim#1953) https://github.com/vim/vim/commit/b31cf2bb0be95d106bd8eef93cc07550591c1d0d
* | | Merge pull request #10290 from janlazo/vim-8.1.0086Justin M. Keyes2019-06-25
|\ \ \ | | | | | | | | vim-patch:8.1.{86,347}
| * | | vim-patch:8.1.0347: some tests fail on SolarisJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some tests fail on Solaris. Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403) https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
| * | | vim-patch:8.1.0086: no tests for libcall() and libcallnr()Jan Edmund Lazo2019-06-23
| | |/ | |/| | | | | | | | | | | | | Problem: No tests for libcall() and libcallnr(). Solution: Add tests. (Dominique Pelle, closes vim/vim#2982) https://github.com/vim/vim/commit/1ceebb4efc455dc6c34e0cd2c2adbd00939f038b
* | | [RFC] vim-patch:8.1.1365,8.1.1366,8.1.1367,8.1.1368,8.1.1382,8… (#10309)James McCoy2019-06-24
|\ \ \ | | | | | | | | [RFC] vim-patch:8.1.1365,8.1.1366,8.1.1367,8.1.1368,8.1.1382,8.1.1401
| * | | vim-patch:8.1.1401: misspelled mkspellmem as makespellmemJames McCoy2019-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Misspelled mkspellmem as makespellmem. Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Ken Takata, closes vim/vim#4437) https://github.com/vim/vim/commit/076073950c44ea0e35bc39d539dc7ab41bf9c7ec
| * | | vim-patch:8.1.1382: error when editing test fileJames McCoy2019-06-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Error when editing test file. Solution: Remove part of modeline. https://github.com/vim/vim/commit/3020a87cb121123abf1e9a1eca0eddac241fc481
| * | | vim-patch:8.1.1368: modeline test fails with python but without pythonhomeJames McCoy2019-06-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Modeline test fails with python but without pythonhome. Solution: Correct test argument. https://github.com/vim/vim/commit/e09244ee3567d658c293fb1ae0d47a1a8be870ac
| * | | vim-patch:8.1.1367: can set 'modelineexpr' in modelineJames McCoy2019-06-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: can set 'modelineexpr' in modeline. Solution: Add P_SECURE flag. https://github.com/vim/vim/commit/7e800c6047c8a9cc3e5cbc019a4dc91ec36616b1
| * | | vim-patch:8.1.1366: using expressions in a modeline is unsafeJames McCoy2019-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using expressions in a modeline is unsafe. Solution: Disallow using expressions in a modeline, unless the 'modelineexpr' option is set. Update help, add more tests. https://github.com/vim/vim/commit/110289e78195b6d01e1e6ad26ad450de476d41c1
| * | | vim-patch:8.1.1365: source command doesn't check for the sandboxJames McCoy2019-06-24
| |/ / | | | | | | | | | | | | | | | Problem: Source command doesn't check for the sandbox. (Armin Razmjou) Solution: Check for the sandbox when sourcing a file. https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
* | | Merge #10313 from rhysd/const-patchesJustin M. Keyes2019-06-24
|\ \ \ | |/ / |/| | vim-patch:8.1.1539,8.1.1543,8.1.1554 for :const from Vim
| * | vim-patch:8.1.1554: docs and tests for :const can be improvedrhysd2019-06-24
| | | | | | | | | | | | | | | | | | | | | Problem: Docs and tests for :const can be improved. Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida, closes vim/vim#4551) https://github.com/vim/vim/commit/1c196e7b1742c1a50ce0d74190721acaad087f81
| * | vim-patch:8.1.1543: const test fails with small featuresrhysd2019-06-24
| | | | | | | | | | | | | | | | | | Problem: Const test fails with small features. Solution: Don't unlet non-existing variables. https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
| * | vim-patch:8.1.1539: not easy to define a variable and lock itrhysd2019-06-24
| | | | | | | | | | | | | | | | | | Problem: Not easy to define a variable and lock it. Solution: Add ":const". https://github.com/vim/vim/commit/9937a055437ef67b57a1bdec8f0799b669c9dbf0
* | | vim-patch:8.1.0747: map() with a bad expression doesn't give an errorJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: map() with a bad expression doesn't give an error. (Ingo Karkat) Solution: Check for giving an error message. (closes vim/vim#3800) https://github.com/vim/vim/commit/ce9d50df07402cb8e196537a9c4505845adecabc
* | | vim-patch:8.1.1519: 'backupskip' may contain duplicatesJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: 'backupskip' may contain duplicates. Solution: Add the P_NODUP flag. (Tom Ryder) https://github.com/vim/vim/commit/06e2c81f6d213d197aa60019b33a263cd5176d68
* | | vim-patch:8.1.0853: options test fails on MacJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: Options test fails on Mac. Solution: Remove a trailing slash from $TMPDIR. https://github.com/vim/vim/commit/cbbd0f657803a9a3a9f5e2c66bce6e1ea1d6a64b
* | | vim-patch:8.1.0850: test for 'backupskip' is not correctJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: Test for 'backupskip' is not correct. Solution: Split the option in parts and use expand(). (Michael Soyka) https://github.com/vim/vim/commit/98ad1e17c3f71962862f959c6ba57dd01e8a83c2
* | | vim-patch:8.1.0272: options test fails if temp var ends in slashJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: Options test fails if temp var ends in slash. (Tom Briden) Solution: Check for optional slash. (closes vim/vim#3308) https://github.com/vim/vim/commit/f53c692240851f71b930e80a0b0b5d4cfcc1b4a3
* | | vim-patch:8.1.0165: :clist output can be very longJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: :clist output can be very long. Solution: Support filtering :clist entries. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/4cde86c2ef885e82fff3d925dee9fb5671c025cf
* | | vim-patch:8.1.0125: virtual edit replace with multi-byte fails at end of lineJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas Werling) Solution: use ins_char() to add the character. (Christian Brabandt, closes vim/vim#3114) Rename PCHAR() to PBYTE() to avoid mistakes like this. https://github.com/vim/vim/commit/630afe889a2a02b367ea8eaaa48e66ed81e77ff3
* | | vim-patch:8.1.0181: memory leak with trailing characters in skip expressionJan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: Memory leak with trailing characters in skip expression. Solution: Free the return value. https://github.com/vim/vim/commit/a43ebe9454386427ca38c75810e2d36991f17812
* | | vim-patch:8.1.0112: no error when using bad arguments with searchpair()Jan Edmund Lazo2019-06-23
| | | | | | | | | | | | | | | | | | Problem: No error when using bad arguments with searchpair(). Solution: Add error messages. https://github.com/vim/vim/commit/3dddb09c98825acefa6f2d94bb369b8e00d7b3e5
* | | vim-patch:8.0.1239: cannot use a lambda for the skip argument to searchpair()Jan Edmund Lazo2019-06-23
|/ / | | | | | | | | | | | | Problem: Cannot use a lambda for the skip argument to searchpair(). Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes vim/vim#1454, closes vim/vim#2265) https://github.com/vim/vim/commit/48570488f17e397183ea7d5c7ca67d6e4ffb013d
* | test/old: run test_arglistJan Edmund Lazo2019-06-19
| | | | | | | | Run failing tests, added in vim-patch:8.1.0493.
* | vim-patch:8.1.0073: crash when autocommands call setloclist()Jan Edmund Lazo2019-06-19
| | | | | | | | | | | | Problem: Crash when autocommands call setloclist(). (Dominique Pelle) Solution: If the quickfix list changes then don't jump to the error. https://github.com/vim/vim/commit/0366c0161e988e32420d2f37111a60129684905b
* | tests: oldtests: mark Test_cursorhold_insert as flaky [ci skip] (#10264)Daniel Hahler2019-06-19
|/ | | | | | | | | | | | | | | Fails often on CI (OSX), e.g.: ``` 1 FAILED: Found errors in Test_cursorhold_insert(): function RunTheTest[37]..Test_cursorhold_insert line 9: Expected 1 but got 0 ``` > Compiler: clang Xcode: xcode10.1 C The test could be adjusted to re-try the timer a few times, but I do not think it's really worth it currently, and that the test should be marked as flaky instead.