aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | | vim-patch:8.0.0974: resetting a string option does not trigger OptionSetJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Resetting a string option does not trigger OptionSet. (Rick Howe) Solution: Set the origval. https://github.com/vim/vim/commit/8efa026a25b95de5598535ef62505282a8584a4b
* | | vim-patch:8.0.0703: illegal memory access with empty :doau commandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access with empty :doau command. Solution: Check the event for being out of range. (James McCoy) https://github.com/vim/vim/commit/faf29d7f91477c25c85d9d7165d90e8d8f1c512e
* | | vim-patch:8.0.0736: OptionSet not triggered when entering diff modeJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The OptionSet autocommand event is not triggered when entering diff mode. Solution: use set_option_value() instead of setting the option directly. Change the tests from old to new style. (Christian Brabandt) https://github.com/vim/vim/commit/04f62f881c5743d2fdaf7324f6a715381f0d5fcf
* | | vim-patch:8.0.1186: still quite a few old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Still quite a few old style tests. Solution: Convert old to new style tests. (Yegappan Lakshmanan) Avoid ringing the bell while running tests. https://github.com/vim/vim/commit/4a6fcf8047de13c7949ab2f27f7774acaec4ae4d
* | | vim-patch:8.0.0600: test_recover fails on some systemsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: test_recover fails on some systems. Solution: Explicitly check if "/" is writable. (Ken Takata) https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9
* | | vim-patch:8.0.0338: :recover test fails on MS-WindowsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: :recover test fails on MS-Windows. Solution: Use non-existing directory on MS-Windows. https://github.com/vim/vim/commit/803452046ba6cda7a2896626572eb78b2358c965
* | | vim-patch:8.0.0337: invalid memory access in :recover commandJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Invalid memory access in :recover command. Solution: Avoid access before directory name. (Dominique Pelle, closes vim/vim#1488) https://github.com/vim/vim/commit/c525e3a1c20f6b5d9809c8b84f80090a8e416c92
* | | vim-patch:8.0.0472: when a test fails another test may also failJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: When a test fails and test.log is created, Test_edit_CTRL_I matches it instead of test1.in. Solution: Match with runtest.vim instead. https://github.com/vim/vim/commit/c537947100d4a73754ad4b4c9228c6c439655e5d
* | | vim-patch:8.0.0861: still many old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/4a137b45864310060410f34cb9c7d0f0231bb256 vim-patch:8.0.0862: file size test fails on MS-Windows Problem: File size test fails on MS-Windows. Solution: Set fileformat after opening new buffer. Strip CR. https://github.com/vim/vim/commit/07c043af5f054c7dfeb676414f8fa6aeda8f9c2b
* | | vim-patch:8.0.1158: still old style testsJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | Problem: Still old style tests. Solution: Convert serveral tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/db51007108a6ab0671e7f7b4844557cbe647185f
* | | vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong directionJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. (Ramel Eshed) Solution: Adjust search_start. (Christian Brabandt) https://github.com/vim/vim/commit/da5116da4586fc714434411d2cccb066caa3723e
* | | vim-patch:8.0.0689: ~ character not escaped when extending search patternJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The ~ character is not escaped when adding to the search pattern with CTRL-L. (Ramel Eshed) Solution: Escape the character. (Christian Brabandt) https://github.com/vim/vim/commit/a693d0584b9a7ccce98813dda3a6badb209904c7
* | | vim-patch:8.0.0440: not enough test coverage in Insert modeJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | [Nvim note: test_override() omitted] Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes vim/vim#1521) https://github.com/vim/vim/commit/eb992cb90fd79c77ad2743459ac898e6ac3de939
* | | test/oldtest: move Nvim setup to testdir/setup.vimJustin M. Keyes2018-02-09
| | |
* | | defaults: sidescroll=1Justin M. Keyes2018-02-09
|/ / | | | | | | ref #6289
* | vim-patch:8.0.0672: synconcealed() changes too often #7887nate2018-02-01
| | | | | | | | | | | | | | | | Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line. https://github.com/vim/vim/commit/cc0750dc6e878394ab0fd922b7ea4280918ae406 closes #7589
* | vim-patch:8.0.0358,8.0.0359 (#7832)KunMing Xie2018-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0358: invalid memory access in C-indent code Problem: Invalid memory access in C-indent code. Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492) https://github.com/vim/vim/commit/60629d642541a089c322e65963c0a77e5f77eb79 vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested Problem: 'number' and 'relativenumber' are not properly tested. Solution: Add tests, change old style to new style tests. (Ozaki Kiichi, closes vim/vim#1447) https://github.com/vim/vim/commit/dc9a081712ec8c140e6d4909e9f6b03a629d32d3
* | test/old: fix Test_set_completion()Justin M. Keyes2018-01-28
| | | | | | | | | | | | Vim's src/testdir has more directories in it, so the "./samples/" item happens to have a space in front of it. This isn't relevant to the test, so just elide the space for our case.
* | test/old: $TMPDIR must be absoluteJustin M. Keyes2018-01-28
| | | | | | | | | | Internals `chdir` here and there, this causes relative $TMPDIR to break some things. Don't know why this only happened on macOS...
* | Merge #7903 'test/old: minor fixes for local invocation'Justin M. Keyes2018-01-28
|\ \
| * | test/old: always set $TMPDIRJustin M. Keyes2018-01-23
| | | | | | | | | | | | | | | | | | On macOS $TMPDIR defaults to something very long. There's not really a need to support overriding the $TMPDIR used by tests, so always use the workspace-local path "Xtest-tmpdir".
| * | test/old: Fix_truncated_tmpfile(): more flexibleJustin M. Keyes2018-01-23
| | |
* | | vim-patch:8.0.0431 (#7908)KunMing Xie2018-01-25
|/ / | | | | | | | | | | | | vim-patch:8.0.0431: 'cinoptions' cannot set indent for extern block Problem: 'cinoptions' cannot set indent for extern block. Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi) https://github.com/vim/vim/commit/7720ba8599162fbbb8f7fc034f674a2ccd3ca7f1
* | vim-patch:8.0.0667: more tests for :endfuncJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | [Only the test is merged; code was addressed by 60c025267265.] Problem: Memory access error when command follows :endfunction. (Nikolai Pavlov) Solution: Make memory handling in :function straightforward. (closes vim/vim#1793) https://github.com/vim/vim/commit/53564f7c1a2998d92568e07fff1f2a4c1cecb646
* | vim-patch:8.0.0662: stray FIXME for fixed problemJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Stray FIXME for fixed problem. Solution: Remove the comment. (Dominique Pelle) https://github.com/vim/vim/commit/4670490673ed98502a09b74fbabe785b47e3d289
* | vim-patch:8.0.0659: no test for conceal modeJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: No test for conceal mode. Solution: Add a conceal mode test. (Dominique Pelle, closes vim/vim#1783) https://github.com/vim/vim/commit/4d785895d1f8b54cdd3fabd87446ca692f49e94e
* | vim-patch:8.0.0656: cannot use ! after some user commandsJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | [Test passes, and the code change doesn't look applicable. So this only includes the test.] Problem: Cannot use ! after some user commands. Solution: Properly check for existing command. (Higashi Higashi) https://github.com/vim/vim/commit/6f9a476b2f2f0bb5c50d703ec4fc535ffd5bfe8f
* | vim-patch:8.0.0655: not easy to make sure a function does not existJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Not easy to make sure a function does not exist. Solution: Add ! as an optional argument to :delfunc. https://github.com/vim/vim/commit/d6abcd154cdc6a8dd4b7c6ccad37617ea8a1b4aa
* | vim-patch:8.0.0654: no warning for text after :endfunctionJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | Problem: Text found after :endfunction is silently ignored. Solution: Give a warning if 'verbose' is set. When | or \n are used, execute the text as a command. https://github.com/vim/vim/commit/663bb2331626944cea156374858131fcd323b9e9 Note: the code part of this patch was addressed by 60c025267265.
* | vim-patch:8.0.0444: diffpatch fails when the file name has a quoteJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Diffpatch fails when the file name has a quote. Solution: Escape the name properly. (zetzei) https://github.com/vim/vim/commit/a95ab321200f0239991bf53756b17cd7b90745f9
* | vim-patch:8.0.0442: patch shell command not well escapedJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | Problem: Patch shell command uses double quotes around the argument, which allows for $HOME to be expanded. (Etienne) Solution: Use single quotes on Unix. (closes vim/vim#1543) https://github.com/vim/vim/commit/1ef73e33c9414eb02c229d8234aafd9d481a8856
* | vim-patch:8.0.0433: beeps when running testsJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | Problem: Quite a few beeps when running tests. Solution: Set 'belloff' for these tests. (Christian Brabandt) https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
* | vim-patch:8.0.0599: diff mode is insufficiently testedJustin M. Keyes2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: diff mode is insufficiently tested Solution: Add more test cases. (Dominique Pelle, closes vim/vim#1685) https://github.com/vim/vim/commit/79a213d6a4e909703524a7f1ad985c7bd40650a6 NA / already applied: --------------------- vim-patch:8.0.0421: diff mode wrong when adding line at end of buffer Problem: Diff mode is displayed wrong when adding a line at the end of a buffer. Solution: Adjust marks in diff mode. (James McCoy, closes vim/vim#1329) https://github.com/vim/vim/commit/f58a8475e17bd566760fc7e2a17d35ddf4edacf2
* | vim-patch:8.0.0301 #7685ckelsel2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No tests for ":set completion" and various errors of the :set command. Solution: Add more :set tests. (Dominique Pelle, closes vim/vim#1440) https://github.com/vim/vim/commit/698f8b207bbfefa1cbbd7361caf5412cb3416534 --- Also move test_options from test_alot to Makefile. (That's done upstream in Vim patch 8.0.0430.)
* | vim-patch:8.0.0426: insufficient testing for statusline (#7882)KunMing Xie2018-01-21
| | | | | | | | | | | | Problem: Insufficient testing for statusline. Solution: Add several tests. (Dominique Pelle, closes vim/vim#1534) https://github.com/vim/vim/commit/300af82eca3dd5fec6be5516f16c9fd344ae104b
* | vim-patch:8.0.0423: changing 'cinoptions' does not always workckelsel2018-01-20
| | | | | | | | | | | | | | | | Problem: The effect of adding "vim/vim#" to 'cinoptions' is not always removed. (David Briscoe) Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes vim/vim#1475) https://github.com/vim/vim/commit/6b64394f346594404cffb9591d71ac693040679f
* | Merge #7424 'vim-patch: 8.0.0198, 8.0.0200, 8.0.0201, 8.0.0202, 8.0.0204'Justin M. Keyes2018-01-18
|\ \
| * | vim-patch:8.0.0202: no test for invalid syntax group namedvejmz2018-01-09
| | | | | | | | | | | | | | | | | | | | | Problem: No test for invalid syntax group name. Solution: Add a test for group name error and warning. https://github.com/vim/vim/commit/4007ed4a5e8c34197078e9d5718bd1d4a429dd23
| * | vim-patch:8.0.0201: completion of highlight groups includes cleared namesdvejmz2018-01-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When completing a group name for a highlight or syntax command cleared groups are included. Solution: Skip groups that have been cleared. https://github.com/vim/vim/commit/d61e8aaae57bd66279def479462bf11c22ec2f1c
| * | vim-patch:8.0.0200: some syntax arguments are not testeddvejmz2018-01-09
| | | | | | | | | | | | | | | | | | | | | Problem: Some syntax arguments are not tested. Solution: Add more syntax command tests. https://github.com/vim/vim/commit/58f60ca2fcd2858faac84e386b3ccf5ced75084d
| * | vim-patch:8.0.0198dvejmz2018-01-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some syntax arguments take effect even after "if 0". (Taylor Venable) Solution: Properly skip the syntax statements. Make "syn case" and "syn conceal" report the current state. Fix that "syn clear" didn't reset the conceal flag. Add tests for :syntax skipping properly. https://github.com/vim/vim/commit/de318c5c35ed0d65fd2a07196cb8acd5ee6d9bf8
* | | Merge #7858 'vim-patch: spell-related patches'Justin M. Keyes2018-01-16
|\ \ \
| * | | vim-patch:8.0.1419: cursor column is not updated after ]sJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor column is not updated after ]s. (Gary Johnson) Solution: Set the curswant flag. https://github.com/vim/vim/commit/b73fa629d6d3d705c1f8e8d5f8109fc9abd7bb6f
| * | | vim-patch:8.0.1225: no check for spell region being zeroJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No check for spell region being zero. (geeknik) Solution: Check for zero. (closes vim/vim#2252) https://github.com/vim/vim/commit/ee03b941241eae1d36bc29b84eec09116cefe7cd
| * | | test/old: skip enc=latin1 testsJustin M. Keyes2018-01-16
| | | |
| * | | vim-patch:8.0.0792: spell test leaves files behindJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell test leaves files behind. Solution: Delete the files. https://github.com/vim/vim/commit/1a0f2005002a9993ba7313d1978fa2043314f8b8
| * | | vim-patch:8.0.0658: spell test is old styleJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell test is old style. Solution: Turn the spell test into a new style test (pschuh, closes vim/vim#1778) https://github.com/vim/vim/commit/d2c061d24c0534f1f1b92f3462ed6ae8fa848a9a
| * | | vim-patch:8.0.0601: no test coverage for :spellrepallJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test coverage for :spellrepall. Solution: Add a test. (Dominique Pelle, closes vim/vim#1717) https://github.com/vim/vim/commit/545cb79da586be3333a0a55616046f94b01f6b1a
| * | | runtime: include en.utf-8.splJustin M. Keyes2018-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Install en.utf-8.spl by default. - Allows spell-related tests to run. - Avoids download prompt for spelllang=en users
| * | | vim-patch:8.0.0582: illegal memory access with z= commandJustin M. Keyes2018-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access with z= command. (Dominique Pelle) Solution: Avoid case folded text to be longer than the original text. Use MB_PTR2LEN() instead of MB_BYTE2LEN(). https://github.com/vim/vim/commit/5b276aa80e112ae1993bd43e28f599f257827c54