aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
* 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.
* vim-patch:8.1.1546: in some tests 'tags' is set but not restoredDaniel Hahler2019-06-16
| | | | | | Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) Solution: Restore 'tags'. (closes vim/vim#4535) https://github.com/vim/vim/commit/0331faf71200a274377e1569fcda4f00c9cf3e2a
* tests: fix Test_tagfiles: use Vim's 'tags' settingDaniel Hahler2019-06-16
| | | | | Otherwise it might fail with an existing `tags` file upwards, e.g. in neovim's source directory (which should be rather common).
* vim-patch:8.0.1845: various comment updates needed, missing white space (#10203)Daniel Hahler2019-06-16
| | | | | | | Problem: Various comment updates needed, missing white space. Solution: Update comments, add white space. https://github.com/vim/vim/commit/259f26ac2d41ecfb28b82c651b2bfc1edc7c3e29 Ignored (partly) applied patch for src/nvim/po/it.po.
* vim-patch:8.1.1003: playing back recorded key sequence mistakes key code ↵Daniel Hahler2019-06-16
| | | | | | | (#10155) Problem: Playing back recorded key sequence mistakes key code. Solution: Insert a <Nop> after the <Esc>. (closes vim/vim#4068) https://github.com/vim/vim/commit/6edbbd8114320089c0e603e033775d9dd34cb10a
* vim-patch:8.0.1549: various small problems in test filesJan Edmund Lazo2019-06-15
| | | | | | Problem: Various small problems in test files. Solution: Include small changes. https://github.com/vim/vim/commit/5d7ead3bc85eefd0929bfcbb579510c8164ea1be
* vim-patch:8.1.0044: if a test function exists Vim this may go unnoticedJan Edmund Lazo2019-06-15
| | | | | | | | | Problem: If a test function exists Vim this may go unnoticed. Solution: Check for a test funtion quitting Vim. Fix tests that did exit Vim. https://github.com/vim/vim/commit/8903676d3d4c3fcb37d2a55c67370f30806b1626 Restore test_assert.vim to run Test_zz_quit_detected().
* vim-patch:8.1.1545: when the screen is to small there is no message about thatJan Edmund Lazo2019-06-15
| | | | | | | Problem: When the screen is to small there is no message about that. (Daniel Hahler) Solution: Do not use :cquit. (closes vim/vim#4534) https://github.com/vim/vim/commit/45aa07d3c126e887c614f8a4ebdb88aed673a9f1
* vim-patch:8.0.1245: when WaitFor() has a wrong expression it just waits a ↵Jan Edmund Lazo2019-06-15
| | | | | | | | | second (#10233) Problem: When WaitFor() has a wrong expression it just waits a second, which goes unnoticed. (James McCoy) Solution: When WaitFor() times out throw an exception. Fix places where the expression was wrong. https://github.com/vim/vim/commit/3e1c617d49224038a820ee2c552ebe31a84aaa89
* test/old: pass Test_statusline on WindowsJan Edmund Lazo2019-06-13
|
* vim-patch:8.0.0933: terminal test tries to start GUI when it's not possibleJan Edmund Lazo2019-06-13
| | | | | | Problem: Terminal test tries to start GUI when it's not possible. Solution: Check if the GUI can run. (James McCoy, closes vim/vim#1971) https://github.com/vim/vim/commit/9f0139a2a869b0804e5b91a65e3d5952c9091879
* vim-patch:8.0.1704: 'backupskip' default doesn't work for MacDaniel Hahler2019-06-13
| | | | | | Problem: 'backupskip' default doesn't work for Mac. Solution: Use "/private/tmp". (Rainer Müller, closes vim/vim#2793) https://github.com/vim/vim/commit/b8e22a053b68774dfd86fd829d9dba2333f09c05