aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0258: not enough testing for the CompleteDone eventJan Edmund Lazo2018-11-17
| | | | | | Problem: Not enough testing for the CompleteDone event. Solution: Add a test. (closes vim/vim#3297) https://github.com/vim/vim/commit/af559d2c9f44bc88a7d94f9236b3c024563a8e73
* vim-patch:8.1.0146: when $LANG is set the compiler test may fail (#9238)Jan Edmund Lazo2018-11-15
| | | | | Problem: When $LANG is set the compiler test may fail. Solution: Unset $LANG. https://github.com/vim/vim/commit/f0447e89a52885630947510f2d1b55f665a1a20e
* oldtests: skip Test_spellinfo()Jan Edmund Lazo2018-11-12
| | | | nvim supports only `set encoding=utf8`.
* vim-patch:8.1.0340: no test for :spellinfoJan Edmund Lazo2018-11-12
| | | | | | Problem: No test for :spellinfo. Solution: Add a test. (Dominique Pelle, closes vim/vim#3394) https://github.com/vim/vim/commit/9049b686121367941bf534c041975938135c7e20
* vim-patch:8.1.0516: :move command sets 'modified' #9224Jan Edmund Lazo2018-11-11
| | | | | Problem: :move command marks buffer modified when nothing changed. Solution: Do not set 'modified'. Add a test. (Jason Franklin) https://github.com/vim/vim/commit/ddd1f9183bed00d096f29c503721ac559174a29f
* test: adjust time-sensitive tests (#9220)Justin M. Keyes2018-11-10
| | | | | | | | | | | | | - window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so that it follows output. - inccommand_spec.lua: Increase timeout to allow 2nd retry. - Timer tests are less reliable on Travis CI macOS 10.12/10.13. ref #6829 ref e39dade80b02 ref de13113dc16e ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452 > We don't guarantee that a X ms timer is triggered during Y ms sleep > for any X<Y, though I would expect the load to be really bad for this > to happen with X=10ms, Y=40ms.
* vim-patch:8.1.0337: :file fails in quickfix command (#9215)Jan Edmund Lazo2018-11-09
| | | | | | Problem: :file fails in quickfix command. Solution: Allow :file without argument when curbuf_lock is set. (Jason Franklin) https://github.com/vim/vim/commit/379fb76b080521f7c09265ec3264b9e698923518
* vim-patch:8.1.0511: ml_get error when calling a function with a range (#9207)Jan Edmund Lazo2018-11-06
| | | | | Problem: ml_get error when calling a function with a range. Solution: Don't position the cursor after the last line. https://github.com/vim/vim/commit/9e353b5265bd7fa103caf4e5a9b3c99f344f548e
* test/timer_spec: relax lower-boundJustin M. Keyes2018-11-05
| | | | | | | | | | | | | Test is unreliable on macOS 10.13. The lower-bound isn't central to the purpose of the test, so just relax it. ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452 > We don't guarantee that a X ms timer is triggered during Y ms sleep > for any X<Y, though I would expect the load to be really bad for this > to happen with X=10ms, Y=40ms. related: #6829
* vim-patch:8.1.0508: suspend test fails when run by root (#9196)Jan Edmund Lazo2018-11-04
| | | | | Problem: Suspend test fails when run by root. Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes vim/vim#3590) https://github.com/vim/vim/commit/0f62cf5b335968f7448af1a6f46e0104b7bc365e
* vim-patch:8.1.0507: .raml files not properly detected (#9195)Jan Edmund Lazo2018-11-04
| | | | | Problem: .raml files not properly detected. Solution: Recognize .raml as raml instead of yaml. (closes vim/vim#3594) https://github.com/vim/vim/commit/da1c11c6411182e9a4bd4374e3fb8851fef77113
* vim-patch:8.1.0504: when CTRL-C is mapped it triggers InsertLeave (#9192)Jan Edmund Lazo2018-11-03
| | | | | Problem: When CTRL-C is mapped it triggers InsertLeave. Solution: Make CTRL-C behave the same way when typed or used in a mapping. https://github.com/vim/vim/commit/4dbc2627641a6b950c30c31cbf7b7e6c36da1927
* vim-patch:8.0.1766: expanding abbreviation doesn't workJan Edmund Lazo2018-11-01
| | | | | | | Problem: Expanding abbreviation doesn't work. (Tooth Pik) Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian Brabandt) https://github.com/vim/vim/commit/c3c3e698966fac86dee94799b70947defb85440d
* test/old: Test_BufReadCmdHelp: generate helptagsJustin M. Keyes2018-11-01
| | | | | | | | | Generate helptags before :help. This only failed in the TSAN build because other builds run the Lua tests first, which generate the helptags. closes #8824
* test/old: force "-i viminfo" in $RUN_VIMTEST #9175 (#9175)Justin M. Keyes2018-10-31
| | | | | | | | | | | Before this change, some tests fail if the user has a local shada/viminfo in the default $HOME location. For example: TEST_FILE=test_marks.res make oldtest Ostensibly this change should not be necessary, because of this statement in runtest.vim: set viminfo+=nviminfo
* test/old: test_startup: fix "-u NONE" argJustin M. Keyes2018-10-30
| | | | | Lack of whitespace caused a file named "NONE-u" to be created (because GetVimCommand() returns a command ending with "-i NONE").
* vim-patch:8.0.1553: find digraph to insert a character #8190lokesh11972018-10-30
| | | | | | | | Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt) https://github.com/vim/vim/commit/5f73ef8d20070cd45c9aea4dc33c2e0657f5515c close #8190
* vim-patch:8.1.0498: /etc/gitconfig not recognized at a gitconfig fileJan Edmund Lazo2018-10-27
| | | | | | Problem: /etc/gitconfig not recognized at a gitconfig file. Solution: Add pattern to filetype detection. (closes vim/vim#3568) https://github.com/vim/vim/commit/d474686a09ef3f7529e65abe00cf8cd2ea8a95eb
* vim-patch:8.1.0484: some file types are not recognizedJan Edmund Lazo2018-10-27
| | | | | | Problem: Some file types are not recognized. Solution: Update the file type detection. https://github.com/vim/vim/commit/38654503b04dd5ff4813f81892d9f62db1ff01b9
* vim-patch:8.0.1465: python2 and python3 detection not testedJan Edmund Lazo2018-10-27
| | | | | | | Problem: Python2 and python3 detection not tested. (Matej Cepl) Solution: Add test for detecting python2 and python3. Also detect a script using "js" as javascript. https://github.com/vim/vim/commit/4bc0bed53695ac67db8d601f2a15e48e7a196688
* vim-patch:8.0.1458: filetype detection test does not check all scriptsJan Edmund Lazo2018-10-27
| | | | | | Problem: Filetype detection test does not check all scripts. Solution: Add most scripts to the test https://github.com/vim/vim/commit/ddb349369d107c14fad9c38baf2f0e2b8514fbf0
* vim-patch:8.0.1438: filetype detection test not updated for changeJan Edmund Lazo2018-10-27
| | | | | | Problem: Filetype detection test not updated for change. Solution: Update the test. https://github.com/vim/vim/commit/0479e910c423d71e2b96bc721feffad5808e767a
* Merge #9086 'vim-patch:8.1.0448'Justin M. Keyes2018-10-18
|\
| * test/old: stub CanRunVimInTerminal()Justin M. Keyes2018-10-16
| |
| * vim-patch:8.1.0448: cursorline not removed when using 'cursorbind'Justin M. Keyes2018-10-16
| | | | | | | | | | | | Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes vim/vim#3488) https://github.com/vim/vim/commit/4a5abbd6138240d109278fe1f0b45489d22f712d
* | Merge #9124 'vim-patch:8.0.1672'Justin M. Keyes2018-10-17
|\ \
| * | vim-patch:8.0.1672: error during completion causes command to be cancelledJan Edmund Lazo2018-10-13
| | | | | | | | | | | | | | | | | | Problem: Error during completion causes command to be cancelled. Solution: Reset did_emsg before waiting for another character. (Tom M.) https://github.com/vim/vim/commit/72532d354e699f1cceec34c0b08e1de4d3ea9641
* | | vim-patch:8.0.1067: try/catch in timer does not prevent it from being stoppedJan Edmund Lazo2018-10-16
| | | | | | | | | | | | | | | | | | | | | Problem: Using try/catch in timer does not prevent it from being stopped. Solution: Reset the exception context and use did_emsg instead of called_emsg. https://github.com/vim/vim/commit/e723c42836d971180d1bf9f98916966c5543fff1
* | | vim-patch:8.0.0670: can't use input() in a timer callbackJan Edmund Lazo2018-10-15
| |/ |/| | | | | | | | | | | Problem: Can't use input() in a timer callback. (Cosmin Popescu) Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes vim/vim#1790, closes vim/vim#1129) https://github.com/vim/vim/commit/1e8e14552e0cc8881411eb8fbe39a654dae42554
* | vim-patch:8.1.0476: memory leaks in test_escaped_glob (#9127)Jan Edmund Lazo2018-10-14
|/ | | | | Problem: Memory leaks in test_escaped_glob. Solution: Avoid failure when running the shell, use the sandbox. https://github.com/vim/vim/commit/a2aad028305c306ecf33e0fd720fe1ed98596371
* test: adjust timer testsJustin M. Keyes2018-10-13
| | | | | Timer tests are less reliable on Travis CI macOS 10.12 (most egregious). Also somewhat on 10.13.
* signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
| | | | | close #9113 ref #9040
* Merge pull request #8968 from ckelsel/vim-8.0.0685James McCoy2018-10-12
|\ | | | | [RFC] vim-patch:8.0.0685
| * vim-patch:8.0.0685: when conversion fails written file may be truncatedckelsel2018-10-12
| | | | | | | | | | | | | | | | Problem: When making backups is disabled and conversion with iconv fails the written file is truncated. (Luo Chen) Solution: First try converting the file and write the file only when it did not fail. (partly by Christian Brabandt) https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
* | vim-patch:8.0.1489: there is no easy way to get the global directory (#9109)Jan Edmund Lazo2018-10-12
|/ | | | | | | Problem: There is no easy way to get the global directory, esp. if some windows have a local directory. Solution: Make getcwd(-1) return the global directory. (Andy Massimino, closes vim/vim#2606) https://github.com/vim/vim/commit/5459129af2a832a027a1e7ca2d6177c26647d64f
* vim-patch:8.0.1837: one character cmdline abbreviation not triggered after '<,'>Jan Edmund Lazo2018-10-10
| | | | | | Problem: One character cmdline abbreviation not triggered after '<,'>. Solution: Skip over the special range. (Christian Brabandt, closes vim/vim#2320) https://github.com/vim/vim/commit/5e3423d192bfa502c6704f731fa2ec6821f9a2f0
* vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails (#9101)Jan Edmund Lazo2018-10-10
| | | | | | | Problem: MS-Windows: Filter command with pipe character fails. (Johannes Riecken) Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto, closes vim/vim#1743, closes vim/vim#3523) https://github.com/vim/vim/commit/0664089eccec1083dd04ef2255856fb34ce62f15
* vim-patch:8.0.1423: error in return not caught by try/catchJan Edmund Lazo2018-10-09
| | | | | | Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) https://github.com/vim/vim/commit/fabaf753e26df5a89a854673d14c15a1fa6b321a
* vim-patch:8.0.1779: deleting in a block selection causes problems (#9099)Jan Edmund Lazo2018-10-09
| | | | | | Problem: Deleting in a block selection causes problems. Solution: Check the length of the line before adding bd.textcol and bd.textlen. (Christian Brabandt, closes vim/vim#2825) https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
* vim-patch:8.1.0459: Test_executable fails when there is a dog in the systemJan Edmund Lazo2018-10-08
| | | | | | Problem: Test_executable fails when there is a dog in the system. Solution: Rename the dog. (Hirohito Higashi) https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9
* oldtests: win: fix executable() assertionsJan Edmund Lazo2018-10-08
| | | | | | | | | | | | | | | | | | | | Windows has "Read and execute" permission via ACL but nvim and libuv do not support ACL. Windows does not support the executable bit in chmod-style permissions but it is safe to assume that if the file exists and is readable, then it is most likely executable. This means that win.ini and shell32.dll are "executable" because they exist, are readable, and are in PATH. PATHEXT does not affect the executable permission of a file; it exists to run files on the shell while omitting the file extension. Assume that PATHEXT is intended for cmd.exe only because powershell can execute powershell files (ie. *.ps1) without changing PATHEXT or related cmd.exe environment variable. In the future, nvim should check the outputs of 'assoc' and 'ftype', cmd.exe internal commands, or check the registry. Powershell can be used for ACL if C++/C# API is too difficult to use.
* vim-patch:8.1.0453: MS-Windows: executable() is not reliableJan Edmund Lazo2018-10-07
| | | | | | Problem: MS-Windows: executable() is not reliable. Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes vim/vim#3412) https://github.com/vim/vim/commit/8295666dc2c65e42135b91d5c61e2a140d002333
* vim-patch:8.1.0454: resolve() was not tested with a symlink cycleJan Edmund Lazo2018-10-06
| | | | | | Problem: resolve() was not tested with a symlink cycle. Solution: Add a test. (Dominique Pelle, closes vim/vim#3513) https://github.com/vim/vim/commit/261099070940fb64d4633a766ae3510fffe4171d
* vim-patch:8.0.1807: function to set terminal name is too longJan Edmund Lazo2018-10-06
| | | | | | Problem: Function to set terminal name is too long. Solution: Refactor the function. Fix typo in test. https://github.com/vim/vim/commit/69e056915c4145b7b64c60963797692a5b293561
* vim-patch:8.1.0440: remove() with a range not sufficiently tested (#9076)Jan Edmund Lazo2018-10-04
| | | | | Problem: remove() with a range not sufficiently tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3497) https://github.com/vim/vim/commit/2bfddfc508bcc8dcee108f098eb75844a228fa44
* vim-patch:8.1.0047: no completion for :unlet $VARJan Edmund Lazo2018-10-02
| | | | | | Problem: No completion for :unlet $VAR. Solution: Add completion. (Jason Franklin) https://github.com/vim/vim/commit/19834010889fc5bfa0f88b3ba83133dae6c0a35d
* vim-patch:8.0.1832: cannot use :unlet for an environment variableJan Edmund Lazo2018-10-02
| | | | | | | Problem: Cannot use :unlet for an environment variable. Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto, closes vim/vim#2855) https://github.com/vim/vim/commit/137374fd6538cf9dee0cb22907728d8fdecb5832
* vim-patch:8.1.0416: sort doesn't report deleted lines (#9062)Jan Edmund Lazo2018-09-28
| | | | | Problem: Sort doesn't report deleted lines. Solution: Call msgmore(). (Christian Brabandt, closes vim/vim#3454) https://github.com/vim/vim/commit/b0e982bf05feb27eddb5f809b052c1137f4d4add
* vim-patch:8.1.0120: buffer 'modified' set even when :sort has no changesJan Edmund Lazo2018-09-26
| | | | | | Problem: Buffer 'modified' set even when :sort has no changes. Solution: Only set 'modified' when lines are moved. (Jason Franklin) https://github.com/vim/vim/commit/dc9e955fb07f410d5d3e981ce18d895dd2847c85
* vim-patch:8.1.0428: the :suspend command is not tested (#9043)Jan Edmund Lazo2018-09-24
| | | | | Problem: The :suspend command is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3472) https://github.com/vim/vim/commit/3b30168f04b8a2a2f1bbaa2f90be546550463146