aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.2727: function test failszeertzjq2022-10-27
| | | | | | | | | | | Problem: Function test fails. Solution: Adjust expected error number. https://github.com/vim/vim/commit/e9b8b78e046b40b877c999432c4698edb3413d5d Cherry-pick colons from patch 8.2.1593. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2100: insufficient testing for function range and dictzeertzjq2022-10-27
| | | | | | | Problem: Insufficient testing for function range and dict. Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7428) https://github.com/vim/vim/commit/67322bf74a106b6476b093e75da87d61e2181b76
* test(old): test_lambda.vim garbagecollect() -> test_garbagecollect_now()zeertzjq2022-10-27
|
* vim-patch:8.2.3839: using \z() with \z1 not tested for syntax highlightingzeertzjq2022-10-27
| | | | | | | | | Problem: Using \z() with \z1 not tested for syntax highlighting. Solution: Add a test. (Dominique Pellé, closes vim/vim#9365) https://github.com/vim/vim/commit/354b23a9f87fd8c5aec457d88320a0a5bce4b985 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* vim-patch:8.2.2837: various code lines not covered by testszeertzjq2022-10-27
| | | | | | | | | Problem: Various code lines not covered by tests. Solution: Add test cases. (Dominique Pellé, closes vim/vim#8178) https://github.com/vim/vim/commit/6d37e8e3baafba460bd2d051170d213c1ba9a523 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* vim-patch:8.2.1113: no test for verbose output of :callzeertzjq2022-10-27
| | | | | | | | | Problem: No test for verbose output of :call. Solution: Add a test. https://github.com/vim/vim/commit/a0d072ef8203b225bd46bcd826cb3d2e3c3b941a Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0606: several syntax HL errors not checkedzeertzjq2022-10-27
| | | | | | | Problem: Several syntax HL errors not checked. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5954) https://github.com/vim/vim/commit/fbf2122cf920a89274ffbefaaeb6c5eeacf5187b
* vim-patch:8.2.0534: client-server test fails under valgrindzeertzjq2022-10-27
| | | | | | | | | Problem: Client-server test fails under valgrind. Solution: Use WaitForAssert(). https://github.com/vim/vim/commit/25d57009520f0e590920b9f953b1cbbb358e72a2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0531: various errors not testedzeertzjq2022-10-27
| | | | | | | | | Problem: Various errors not tested. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#5895) https://github.com/vim/vim/commit/476a613135bdc94e61c1dce8a9cbb4ab0b6dc2d1 Need to remove "F" flag from 'shortmess' as early as possible.
* vim-patch:9.0.0019: timers test not run where possiblezeertzjq2022-10-26
| | | | | | | | | Problem: Timers test not run where possible. Solution: Adjust platform checks. (closes vim/vim#10645) https://github.com/vim/vim/commit/eb273cd7b036c35ae9070bd6352101914f273e71 Cherry-pick a line from patch 8.2.0183.
* vim-patch:8.1.1826: tests use hand coded feature and option checkszeertzjq2022-10-26
| | | | | | | | | | | | | Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests. https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb Omit Test_wincolor(): there are later patches that touch that function. Omit test_memory_usage.vim: a Lua test is used for that file. Cherry-pick Test_issue_3969() from patch 8.1.0969. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.1852: map() returing zero for NULL list is unexpectedzeertzjq2022-10-26
| | | | | | | | | Problem: map() returing zero for NULL list is unexpected. Solution: Return the empty list. (closes vim/vim#7133) https://github.com/vim/vim/commit/ffdf8adfa8108d4765fdc68abbd2fe49a4292b25 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0619: null dict is not handled like an empty dictzeertzjq2022-10-26
| | | | | | | | | Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes vim/vim#5968) https://github.com/vim/vim/commit/ea04a6e8baff2f27da7cdd54bf70a5525994f76d Nvim doesn't support modifying NULL list, so comment out a line.
* vim-patch:8.2.0610: some tests are still old stylezeertzjq2022-10-26
| | | | | | | | | | | Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5957) https://github.com/vim/vim/commit/08f4157c5cabc55bcb22f04dd7c717aba40caa34 Fix missing error message when sort() compare function fails. Cherry-pick a line in test_utf8.vim from patch 8.2.0448. Cherry-pick builtin_function() change from patch 8.2.0595.
* vim-patch:8.2.0163: test hangs on MS-Windows consolezeertzjq2022-10-26
| | | | | | | | | Problem: Test hangs on MS-Windows console. Solution: use feedkeys() instead of test_feedinput(). (Ken Takata) https://github.com/vim/vim/commit/272ca95fc3d21ae1e2626a7aec38a6990e88ad6b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0162: balloon test fails in the GUIzeertzjq2022-10-26
| | | | | | | | | Problem: Balloon test fails in the GUI. Solution: Skip test in the GUI. https://github.com/vim/vim/commit/7d8ea0b24191d64155fcf9e8d2d2eefff91ae549 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0418: code in eval.c not sufficiently covered by testszeertzjq2022-10-26
| | | | | | | | | Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5815) https://github.com/vim/vim/commit/8b633135106dda8605463b780573c45b00c22afe Nvim does not have v:none, so comment out test for it.
* vim-patch:8.2.0401: not enough test coverage for evalvars.czeertzjq2022-10-26
| | | | | | | | | | | | | Problem: Not enough test coverage for evalvars.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5804) https://github.com/vim/vim/commit/8dfcce3a78ccb520cc9d09081f998091494c50bf Assert E475 instead of E474 in :redir test because a later patch changed the error number. Comment out the test for :echo with a deeply nested container as Nvim implements :echo very differently.
* vim-patch:7.4.1097zeertzjq2022-10-26
| | | | | | | | | | | Problem: Looking up the alloc ID for tests fails. Solution: Fix the line computation. Use assert_fails() for unlet test. https://github.com/vim/vim/commit/065ee9aebf9abe08ae8c0dba7d05cbdcc423c8e0 Use v:count and v:errmsg instead of count and errmsg. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:7.4.1081zeertzjq2022-10-26
| | | | | | | | | | | Problem: No test for what previously caused a crash. Solution: Add test for unletting errmsg. https://github.com/vim/vim/commit/254b105b755d9736ece5f7f28db92acaf3e7bf76 Use v:errmsg instead of errmsg. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0211: test for ANSI colors fails without an "ls" commandzeertzjq2022-10-26
| | | | | | | | | Problem: Test for ANSI colors fails without an "ls" command. Solution: Use "dir". (Ken Takata, closes vim/vim#5582) https://github.com/vim/vim/commit/94255df057afa0b7dde77612f3274d4440871bd1 Cherry-pick test_functions.vim change from patch 8.2.0186.
* vim-patch:8.2.0179: still a few places where range() does not workzeertzjq2022-10-26
| | | | | | | | | | | | | | | | Problem: Still a few places where range() does not work. Solution: Fix using range() causing problems. https://github.com/vim/vim/commit/b09920203a0f2b202497ef9632f8447f73d0f1fb Code is mostly N/A. Cherry-pick all of Test_range() from patch 8.2.0159. - Use nvim_input() instead of test_feedinput() - Assert a different result from json_encode() - Assert a different error for sign_undefine() Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0908: crash when changing the function table while listing itzeertzjq2022-10-24
| | | | | | | | | Problem: Crash when changing the function table while listing it. Solution: Bail out when the function table changes. (closes vim/vim#6209) https://github.com/vim/vim/commit/3fffa97159a427067b60c80ed4645e168cc5c4bd Co-authored-by: Bram Moolenaar <Bram@vim.org>
* docs: fix typos (#20724)dundargoc2022-10-23
| | | Co-authored-by: Marco Lehmann <m99@posteo.de>
* vim-patch:9.0.0814: aws config files are not recognized (#20769)Christian Clason2022-10-21
| | | | | | | | vim-patch:436e5d395fd6 (since upstream tagged the wrong commit) Problem: Aws config files are not recognized. Solution: Use "confini" for aws config files. (Justin M. Keyes, closes vim/vim#11416) https://github.com/vim/vim/commit/436e5d395fd629c8d33b5cf7b373aad007f16851
* vim-patch:9.0.0806: 'langmap' works differently when there are modifiers ↵zeertzjq2022-10-21
| | | | | | | | (#20754) Problem: 'langmap' works differently when there are modifiers. Solution: Only apply 'langmap' to a character where modifiers have no effect. (closes vim/vim#11395, closes vim/vim#11404) https://github.com/vim/vim/commit/49660f5139d3fd55326a54eadf6bb31a3ffec2bf
* vim-patch:9.0.0808: jsonnet filetype detection has a typo (#20753)Christian Clason2022-10-20
| | | | | Problem: jsonnet filetype detection has a typo. Solution: Change "libjsonnet" to "libsonnet". (Maxime Brunet, closes vim/vim#11412) https://github.com/vim/vim/commit/6c8bc37a1083d17447156592f6f52da2d40b4855
* vim-patch:9.0.0804: crash when trying to divide a number by -1zeertzjq2022-10-20
| | | | | | Problem: Crash when trying to divice the largest negative number by -1. Solution: Handle this case specifically. https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b
* vim-patch:partial:8.2.0418: code in eval.c not sufficiently covered by testszeertzjq2022-10-20
| | | | | | | | | | Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5815) https://github.com/vim/vim/commit/8b633135106dda8605463b780573c45b00c22afe Only port test_expr.vim and the first hunk of test_cmdline.vim. Add missing test from patch 7.4.1755. Cherry-pick test_expr.vim change from patch 8.2.2060.
* vim-patch:9.0.0798: clang format configuration files are not recognized (#20741)ObserverOfTime2022-10-19
| | | | | | Problem: Clang format configuration files are not recognized. Solution: Use yaml for Clang format configuration files. (Marwin Glaser, closes vim/vim#11398) https://github.com/vim/vim/commit/3c708c43908ba44f075bbaa7daf584c6b46d9723
* revert: "oldtests: wait 200ms on mac for timer test" (#20728)zeertzjq2022-10-19
| | | This reverts commit 3bad76008e1c98724eca7d986a6340eff1de8193.
* vim-patch:9.0.0790: test for dummy buffer does not always produce the E86 errorzeertzjq2022-10-19
| | | | | | Problem: Test for dummy buffer does not always produce the E86 error. Solution: Do not check if the error is produced. https://github.com/vim/vim/commit/53c5c9f50ca68d3ed559eebb2c5f7d23f39a768c
* vim-patch:9.0.0789: dummy buffer ends up in a windowzeertzjq2022-10-19
| | | | | | Problem: Dummy buffer ends up in a window. Solution: Disallow navigating to a dummy buffer. https://github.com/vim/vim/commit/8f3c3c6cd044e3b5bf08dbfa3b3f04bb3f711bad
* vim-patch:9.0.0788: ModeChanged autocmd not executed when Visual ends with ↵zeertzjq2022-10-19
| | | | | | | | | | CTRL-C (#20722) Problem: ModeChanged autocmd not executed when Visual mode is ended with CTRL-C. Solution: Do not trigger the autocmd when got_int is set. (closes vim/vim#11394) https://github.com/vim/vim/commit/61c4b04799bf114cadc3bbf212ae8b2ad22a6980 Cherry-pick removal of cmdwin feature check from patch 9.0.0663.
* vim-patch:9.0.0779: lsl and lm3 file extensions are not recognized (#20704)Christian Clason2022-10-18
| | | | | Problem: lsl and lm3 file extensions are not recognized. Solution: Add *.lsl and *.lm3 patterns. (Doug Kearns, closes vim/vim#11384) https://github.com/vim/vim/commit/4ac8e7948cb3e07bc4598ede8b274891d14dfa7c
* vim-patch:9.0.0786: user command does not get number from :tab modifier (#20716)zeertzjq2022-10-18
| | | | | Problem: User command does not get number from :tab modifier. Solution: Include the number. (closes vim/vim#11393, closes vim/vim#6901) https://github.com/vim/vim/commit/208567e9d744ef7b89bed1f62e951ae4ee2f6f5f
* vim-patch:9.0.0782: OpenVPN files are not recognized (#20702)Christian Clason2022-10-17
| | | | | Problem: OpenVPN files are not recognized. Solution: Add patterns for OpenVPN files. (closes vim/vim#11391) https://github.com/vim/vim/commit/4bf67ec52e938a3edaa4f452adab42a57505f940
* feat(runtime)!: remove filetype.vim (#20428)Christian Clason2022-10-17
| | | | | | Made obsolete by now graduated `filetype.lua` (enabled by default). Note that changes or additions to the filetype detection still need to be made through a PR to vim/vim as we port the _logic_ as well as tests.
* vim-patch:9.0.0771: cannot always tell the difference beween tex and … ↵Jonas Strittmatter2022-10-17
| | | | | | | | | | (#20687) vim-patch:9.0.0771: cannot always tell the difference beween tex and rexx files Problem: Cannot always tell the difference beween tex and rexx files. Solution: Recognize tex by a leading backslash. (Martin Tournoij, closes vim/vim#11380) https://github.com/vim/vim/commit/bd053f894b0d7652928201faa68c53d1ce2acdc5
* vim-patch:9.0.0761: cannot use 'indentexpr' for Lisp indentingzeertzjq2022-10-16
| | | | | | | | | | | | Problem: Cannot use 'indentexpr' for Lisp indenting. Solution: Add the 'lispoptions' option. https://github.com/vim/vim/commit/49846fb1a31de99f49d6a7e70efe685197423c84 vim-patch:9.0.0762: build failure Problem: Build failure. Solution: Add missing change. https://github.com/vim/vim/commit/4b082c4bd05f504fda1acaa9d28fca55a2d04857
* vim-patch:9.0.0765: with a Visual block a put command column may go negative ↵zeertzjq2022-10-16
| | | | | | | (#20676) Problem: With a Visual block a put command column may go negative. Solution: Check that the column does not become negative. https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b
* vim-patch:9.0.0754: 'indentexpr' overrules lisp indenting in one situationzeertzjq2022-10-15
| | | | | | Problem: 'indentexpr' overrules lisp indenting in one situation. Solution: Add "else" to keep the lisp indent. (issue vim/vim#11327) https://github.com/vim/vim/commit/a79b35b5781ae770334cec781d17fec3875f8108
* vim-patch:partial:9.0.0737: Lisp word only recognized when a space followszeertzjq2022-10-15
| | | | | | | | | Problem: Lisp word only recognized when a space follows. Solution: Also match a word at the end of a line. Rename the test. Use a compiled function to avoid backslashes. https://github.com/vim/vim/commit/d26c5805bcbd630dab0478c2d22503a6e32a83c1 Keep the old Test_lisp_indent().
* vim-patch:9.0.0616: spell test fails because error message changedzeertzjq2022-10-15
| | | | | | Problem: Spell test fails because error message changed. Solution: Adjust expected error message. https://github.com/vim/vim/commit/371951d0c34d4f44b50ad8bc8d30a4ef7effade6
* vim-patch:9.0.0614: SpellFileMissing autocmd may delete bufferzeertzjq2022-10-15
| | | | | | Problem: SpellFileMissing autocmd may delete buffer. Solution: Disallow deleting the current buffer to avoid using freed memory. https://github.com/vim/vim/commit/ef976323e770315b5fca544efb6b2faa25674d15
* vim-patch:9.0.0752: Rprofile files are not recognized (#20658)Christian Clason2022-10-15
| | | | | Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes vim/vim#11369) https://github.com/vim/vim/commit/7e120ffccbf81ae8acac28f11fbd5eab79a1630d
* feat(cscope)!: removeLewis Russell2022-10-13
|
* vim-patch:8.2.4735: quickfix tests can be a bit hard to read (#20631)zeertzjq2022-10-13
| | | | | | | | Problem: Quickfix tests can be a bit hard to read. Solution: Use heredoc instead of strings and line continuation. (Yegappan Lakshmanan, closes vim/vim#10145) https://github.com/vim/vim/commit/4a7724a4406f639edd3f93f3542626811cf56719 Cherry-pick a typo fix from patch 8.2.3637.
* vim-patch:9.0.0286: using freed memory when location list changed in autocmdzeertzjq2022-10-13
| | | | | | | Problem: Using freed memory when location list changed in autocmd. Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan, closes vim/vim#10993) https://github.com/vim/vim/commit/6d24a51b94beb1991cddce221f90b455e2d50db7
* vim-patch:9.0.0260: using freed memory when using 'quickfixtextfunc' recursivelyzeertzjq2022-10-13
| | | | | | | | Problem: Using freed memory when using 'quickfixtextfunc' recursively. Solution: Do not allow for recursion. https://github.com/vim/vim/commit/d6c67629ed05aae436164eec474832daf8ba7420 Cherry-pick Test_qflist_statusmsg() from patch 8.2.4617.