aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
* test/old: detect user modules for python,rubyJan Edmund Lazo2019-09-15
| | | | | | | | | Set the environment variables before changing $HOME so that python,ruby can find user modules not in $HOME. Reference: - https://github.com/neovim/neovim/commit/7be7ec98a22451ec75ce5eb9284fa1722b53c697 - https://github.com/neovim/neovim/issues/10270#issuecomment-531516948
* vim-patch:8.1.0220: Ruby converts v:true and v:false to a numberJan Edmund Lazo2019-09-15
| | | | | | | | | Problem: Ruby converts v:true and v:false to a number. Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, closes vim/vim#3259) https://github.com/vim/vim/commit/d84b26a03b13cd816d80ff32b61e8de740d499ce nvim does not support v:none.
* test/old: skip python-bindeval testsJan Edmund Lazo2019-09-14
|
* vim-patch:8.1.0212: preferred cursor column not set in interfacesJan Edmund Lazo2019-09-14
| | | | | | | | | | Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes vim/vim#3060) https://github.com/vim/vim/commit/53901442f37a59e5495165f91db5574c0b43ab04 This contains test_ruby changes only. test_python changes were ported before.
* test/old: skip failing ruby testsJan Edmund Lazo2019-09-14
| | | | These tests didn't pass in https://github.com/neovim/neovim/pull/9245
* vim-patch:8.0.1448: segfault with exception inside :rubyfile commandJan Edmund Lazo2019-09-14
| | | | | | | | Problem: Segmentation fault when Ruby throws an exception inside :rubyfile command. Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa, closes vim/vim#2147, greywolf, closes vim/vim#2512, vim/vim#2511) https://github.com/vim/vim/commit/37badc898b8d167e11553b6d05908ffd35928a6e
* vim-patch:8.1.2028: options test script does not workJan Edmund Lazo2019-09-14
| | | | | | Problem: Options test script does not work. Solution: Use optiondefs.h for input. https://github.com/vim/vim/commit/d9b0d83b13d2691e4544709abd87eac004715175
* vim-patch:8.1.0289: cursor moves to wrong column after quickfix jumpJan Edmund Lazo2019-09-14
| | | | | | Problem: Cursor moves to wrong column after quickfix jump. Solution: Set the curswant flag. (Andy Massimino, closes vim/vim#3331) https://github.com/vim/vim/commit/2dfcef4c08a3371e2126504bea00b274f937a840
* vim-patch:8.1.2023: no test for synIDattr() returning "strikethrough" (#11018)Daniel Hahler2019-09-14
| | | | | Problem: No test for synIDattr() returning "strikethrough". Solution: Extend the synIDattr() test. (Jaskaran Singh, closes vim/vim#4929) https://github.com/vim/vim/commit/dcb2b9cb085288d2a2e4cc31abc591ade04e782e
* vim-patch:8.1.0259: no test for fixed quickfix issueJan Edmund Lazo2019-09-13
| | | | | | Problem: No test for fixed quickfix issue. Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3f347e4716c44cf6458be407e712e3d708d82580
* vim-patch:8.1.1197: when starting with multiple tabs file messages is confusingJan Edmund Lazo2019-09-08
| | | | | | Problem: When starting with multiple tabs file messages is confusing. Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt) https://github.com/vim/vim/commit/c75e81262347e47a69faabd72caf89fec3f06e8f
* vim-patch:8.1.2007: no test for what 8.1.1926 fixes #10970Jan Edmund Lazo2019-09-08
| | | | | Problem: No test for what 8.1.1926 fixes. Solution: Add a test case. https://github.com/vim/vim/commit/fca068b977b1dc07b269e8c3e0ff7aa638357eff
* vim-patch:8.1.1988: :startinsert! does not work the same way as "A"Jan Edmund Lazo2019-09-06
| | | | | | Problem: :startinsert! does not work the same way as "A". Solution: Use the same code to move the cursor. (closes vim/vim#4896) https://github.com/vim/vim/commit/8d3b51084a5bdcd2ee9e31bc03cba0d16c43d428
* Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}'Justin M. Keyes2019-09-05
|\
| * vim-patch:8.1.1946: memory error when profiling a function without a script IDerw72019-09-04
| | | | | | | | | | | | Problem: Memory error when profiling a function without a script ID. Solution: Check for missing script ID. (closes vim/vim#4877) https://github.com/vim/vim/commit/163588005da3a240e49416093d0d0251951d60a1
| * vim-patch:8.1.0515: reloading a script gives errors for existing functionserw72019-09-04
| | | | | | | | | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script. https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
| * vim-patch:8.1.0365: function profile doesn't specify where it was definederw72019-09-04
| | | | | | | | | | | | Problem: Function profile doesn't specify where it was defined. Solution: Show the script name and line number. https://github.com/vim/vim/commit/4c7b08f6409349cf5324a26f7523c438590550ef
| * vim-patch:8.1.0309: profiling does not show a count for condition lineserw72019-09-04
| | | | | | | | | | | | | | Problem: Profiling does not show a count for condition lines. (Daniel Hahler) Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499) https://github.com/vim/vim/commit/7feb35e7782907b44659a2748ff5d7489deeed74
| * vim-patch:8.1.0362: cannot get the script line number when executing a functionerw72019-09-04
| | | | | | | | | | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes vim/vim#3362) Also display the line number with ":verbose set". https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
* | Merge pull request #10451 from bfredl/floatbufBjörn Linse2019-09-05
|\ \ | | | | | | anchor float to buffer position
| * | anchor float to buffer positionBjörn Linse2019-09-04
| | | | | | | | | | | | vim-patch:8.1.1645: cannot use a popup window for a balloon
* | | vim-patch:8.1.1501: new behavior of b:changedtick not testedJustin M. Keyes2019-09-04
|/ / | | | | | | | | | | Problem: New behavior of b:changedtick not tested. Solution: Add a few test cases. (Daniel Hahler) https://github.com/vim/vim/commit/260addf7955f3695d3daef9dcf840952af9fd851
* | vim-patch:8.1.0145: test with grep is failing on MS-WindowsJan Edmund Lazo2019-09-04
| | | | | | | | | | | | Problem: Test with grep is failing on MS-Windows. Solution: Skip the test. https://github.com/vim/vim/commit/851332ea9cdabf24980a7f7c293da81fa990f864
* | vim-patch:8.0.1844: superfluous quickfix code, missing examplesJan Edmund Lazo2019-09-04
| | | | | | | | | | | | | | Problem: Superfluous quickfix code, missing examples. Solution: Remove unneeded code. Add a few examples. Add a bit more testing. (Yegappan Lakshmanan, closes vim/vim#2916) https://github.com/vim/vim/commit/78ddc06bdd5c59cffdbb61eed7dcb5dcc4a17f19
* | vim-patch:8.0.1752: qf_set_properties() is to longJan Edmund Lazo2019-09-04
|/ | | | | | | Problem: qf_set_properties() is to long. Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan Lakshmanan, closes vim/vim#2812) https://github.com/vim/vim/commit/a2aa8a2b22de909619d7faa3ff5383a6224defc5
* vim-patch:8.1.1063: insufficient testing for wildmenu completionJan Edmund Lazo2019-09-03
| | | | | | Problem: Insufficient testing for wildmenu completion. Solution: Extend the test case. (Dominique Pelle, closes vim/vim#4182) https://github.com/vim/vim/commit/37db642083398da7d04ed45767cc46daf40bf72b
* vim-patch:8.1.0046: loading a session file fails if 'winheight' is bigJan Edmund Lazo2019-09-02
| | | | | | | | | Problem: Loading a session file fails if 'winheight' is a big number. Solution: Set 'minwinheight' to zero at first. Don't give an error when setting 'minwinheight' while 'winheight' is a big number. Fix using vertical splits. Fix setting 'minwinwidth'. (closes vim/vim#2970) https://github.com/vim/vim/commit/1c3c10492a291270fa89b3c8df11828792f927d3
* vim-patch:8.0.1806: InsertCharPre causes problems for autocompleteJan Edmund Lazo2019-09-02
| | | | | | | Problem: InsertCharPre causes problems for autocomplete. (Lifepillar) Solution: Check for InsertCharPre before calling vpeekc(). (Christian Brabandt, closes vim/vim#2876) https://github.com/vim/vim/commit/39de95257714b76ccd845d081cff57830a79b488
* vim-patch:8.0.1697: various tests are still a bit flakyJan Edmund Lazo2019-09-02
| | | | | | Problem: Various tests are still a bit flaky. Solution: Increase the default wait time to five seconds. https://github.com/vim/vim/commit/769e9d21ac3e8dff43b9ef5e46cdc4523833b51e
* vim-patch:8.0.1653: screen dump is made too soon (#10911)Jan Edmund Lazo2019-09-02
| | | | | Problem: Screen dump is made too soon. Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes vim/vim#2755) https://github.com/vim/vim/commit/1834d37396e046ccbc4aa2678ba16a38197da6b4
* vim-patch:8.0.1534: C syntax test fails in gvim #10909Jan Edmund Lazo2019-09-01
| | | | | | Problem: C syntax test fails when using gvim Solution: Force running in a terminal. Check that 'background' is correct even when $COLORFGBG is set. https://github.com/vim/vim/commit/b7ea7cb8e430ea096b4c452cdc9c3299819e6d6b
* Merge #10906 from janlazo/vim-8.0.1241Justin M. Keyes2019-09-01
|\ | | | | vim-patch:8.0.{1241,1246,1260}
| * vim-patch:8.0.1260: using global variables for WaitFor()Jan Edmund Lazo2019-09-01
| | | | | | | | | | | | | | Problem: Using global variables for WaitFor(). Solution: Use a lambda function instead. Don't check a condition if WaitFor() already checked it. https://github.com/vim/vim/commit/ab8b1c14a31e36ae87cc7e13c4a75318d513fc7b
| * vim-patch:8.0.1246: popup test has an arbitrary delayJan Edmund Lazo2019-09-01
| | | | | | | | | | | | Problem: Popup test has an arbitrary delay. Solution: Wait for the ruler to show. (James McCoy) https://github.com/vim/vim/commit/b315876efa7865486b9cc160d43f0ead47e58d6c
| * vim-patch:8.0.1241: popup test is flakyJan Edmund Lazo2019-09-01
| | | | | | | | | | | | Problem: Popup test is flaky. (James McCoy) Solution: Increase the wait time. (Dominique Pelle) https://github.com/vim/vim/commit/89c394faca40d2f5d57705432a433173b295bf73
* | vim-patch:8.1.0141: :cexpr no longer jumps to the first error #10901Marco Hinz2019-09-01
|/ | | | | | Problem: :cepxr no longer jumps to the first error. Solution: Use the quickfix list identifier. (Yegappan Lakshmanan) Fixes https://github.com/neovim/neovim/issues/10895
* vim-patch:8.1.1947: when executing one test the report doesn't show it #10893Daniel Hahler2019-08-30
| | | | | Problem: When executing one test the report doesn't show it. Solution: Adjust the regexp. (Daniel Hahler, closes vim/vim#4879) https://github.com/vim/vim/commit/60b1bcfe92da1d7b8f894c91192f3a76e8aec391
* vim-patch:8.1.1941: getftype() test fails on Mac #10894Daniel Hahler2019-08-30
| | | | | Problem: getftype() test fails on Mac. Solution: Skip /dev/fd/. https://github.com/vim/vim/commit/ad5db44c0165b6254199e7af5962b42caf8b857c
* vim-patch:cb00f0393 (#10892)Daniel Hahler2019-08-30
| | | | Add missing test file. https://github.com/vim/vim/commit/cb00f039332d3188931035e9d07144546fdea78a
* vim-patch:8.1.0950: using :python sets 'pyxversion' even when not executed ↵Daniel Hahler2019-08-30
| | | | | | | (#10891) Problem: Using :python sets 'pyxversion' even when not executed. Solution: Check the "skip" flag. (Shane Harper, closes vim/vim#3995) https://github.com/vim/vim/commit/14816ad6e58336773443f5ee2e4aa9e384af65d2
* vim-patch:8.1.0212: preferred cursor column not set in interfaces (#10890)Daniel Hahler2019-08-30
| | | | | | Problem: Preferred cursor column not set in interfaces. Solution: Set w_set_curswant when setting the cursor. (David Hotham, closes vim/vim#3060) https://github.com/vim/vim/commit/53901442f37a59e5495165f91db5574c0b43ab04
* tests: fix Test_tagfiles: use Vim's 'tags' (#10883)Daniel Hahler2019-08-30
| | | | | | | When run via `test_alot.vim` `Test_tagfiles` gets run after `set tags&`, and might therefore pick up "tags" from Neovim's source directory. This patch makes it use Vim's default always (which is different from Neovim's).
* tests: use runtime from build for doc/tags with :help (#10479)Daniel Hahler2019-08-28
| | | | | | | | | | | | This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
* vim-patch:8.1.1932: ml_get errors after append() #10866Marco Hinz2019-08-27
| | | | | | | | Problem: Ml_get errors after using append(). (Alex Genco) Solution: Do not update the cursor twice. https://github.com/vim/vim/commit/d20070274c47668560e02db184e1f8e456c3c326 fix #10847
* vim-patch:8.1.1931: syntax test failsJan Edmund Lazo2019-08-26
| | | | | | Problem: Syntax test fails. Solution: Add new javascriptreact type to completions. https://github.com/vim/vim/commit/ea7a08a53ea0e8b4fe1592d9ae4d8f581fef46f8
* vim-patch:8.1.1930: cannot recognize .jsx and .tsx filesJan Edmund Lazo2019-08-26
| | | | | | | Problem: Cannot recognize .jsx and .tsx files. Solution: Recognize them as javascriptreact and typescriptreact. (closes vim/vim#4830) https://github.com/vim/vim/commit/92852cee3fcff1dc6ce12387b234634e73267b22
* runnvim.sh: lint (shellcheck) (#10851)Daniel Hahler2019-08-26
|
* vim-patch:8.1.1790: :mkvimrc is not testedJan Edmund Lazo2019-08-26
| | | | | | Problem: :mkvimrc is not tested. Solution: Add a test. https://github.com/vim/vim/commit/8750026a7f6b445c43adc990141a3fe92d680b62
* Merge pull request #10841 from janlazo/vim-7.4.1407Daniel Hahler2019-08-25
|\ | | | | vim-patch:7.4.1407,8.1.1111
| * vim-patch:8.1.1111: it is not easy to check for infinityJan Edmund Lazo2019-08-24
| | | | | | | | | | | | Problem: It is not easy to check for infinity. Solution: Add isinf(). (Ozaki Kiichi, closes vim/vim#3787) https://github.com/vim/vim/commit/fda1bff39f89775b20a2d88ef3903656d52f66ad