aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * | | | tests: Migrate legacy test 68.Lucas Hoffmann2016-02-24
| | | | |
* | | | | Merge pull request #4757 from KillTheMule/fix-tui_specJustin M. Keyes2016-05-14
|\ \ \ \ \ | | | | | | | | | | | | Fix tui_spec.lua for QB/Travis
| * | | | | Fix tui_spec.lua for QB/TravisKillTheMule2016-05-14
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | This was not a problem locally, but would often/sometimes/etc. (YMMV) fail on QB and/or travis. This seems to fix it. Quoting @justinmk: "I have a feeling this is just a bug in the bracketed paste special-cases in the existing code".
* | | | | Merge pull request #4563 from KillTheMule/vim-patch-1259Justin M. Keyes2016-05-14
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch: 7.4.1259
| * | | | vim-patch:7.4.1259KillTheMule2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for what patch 7.3.414 fixed. Solution: Add a test. (Elias Diem) https://github.com/vim/vim/commit/3fc3e14282c182c046d1335f3d576bc0eeb605c5
* | | | | Merge pull request #4733 from AdnoC/hi-link-cleared-groupJustin M. Keyes2016-05-12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix linking a cleared highlight group Closes #4549 Closes #2756 Closes #4236
| * | | | | test/syntax: Add testing for linking to cleared highlight groupsAdnoC2016-05-10
| |/ / / /
* | | | | test/functional/helpers.lua: Fix dedent() #4735KillTheMule2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The character class %s also matches a newline in lua, that's not really what we want here. It works in the other cases in this function, so I left them, but the final gsub should preserve newlines.
* | | | | Merge pull request #4729 from jbradaric/vim-7.4.1047Justin M. Keyes2016-05-12
|\ \ \ \ \ | | | | | | | | | | | | vim-patch 7.4.1047, 7.4.1048, 7.4.1049
| * | | | | vim-patch:7.4.1049Jurica Bradaric2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wordcount test still still fails on MS-Windows. Solution: Set 'fileformats' to "unix". https://github.com/vim/vim/commit/485dace817a99f4cf92a598845d27c8ee685df93
| * | | | | vim-patch:7.4.1048Jurica Bradaric2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Wordcount test still fail on MS-Windows. Solution: Set 'fileformat' to "unix". https://github.com/vim/vim/commit/c7803a1c42228566ee2e2efcd621b21d0a8ed3ea
| * | | | | vim-patch:7.4.1047Jurica Bradaric2016-05-10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests fail on MS-Windows. Solution: Set 'selection' to inclusive. https://github.com/vim/vim/commit/7f68203168aeb22fcf8a5a9680503fe16759ebd4
* / / / / Testlinting.KillTheMule2016-05-10
|/ / / / | | | | | | | | | | | | | | | | Missed in https://github.com/neovim/neovim/pull/4644/commits/fd3088b425b8c1f4f41eb715201e429ddd37af32
* | | | Merge pull request #4588 from KillTheMule/vim-patch-1285Justin M. Keyes2016-05-10
|\ \ \ \ | | | | | | | | | | vim-patch: 7.4.1285
| * | | | vim-patch:cb00f03KillTheMule2016-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/cb00f039332d3188931035e9d07144546fdea78a Converted to a lua test. Change the tolerance of the test to avoid false positives on travis.
* | | | | Merge pull request #4720 from jbradaric/vim-7.4.1042Justin M. Keyes2016-05-10
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.1042
| * | | | | vim-patch:7.4.1042Jurica Bradaric2016-05-08
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: g-CTRL-G shows the word count, but there is no way to get the word count in a script. Solution: Add the wordcount() function. (Christian Brabandt) https://github.com/vim/vim/commit/ed767a2073ef150971b0439a58e7ee582af6984e
* | | | | test/functional: clear the temp directory before each tempfile testJohn Szakmeister2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible that the first test encounters a temp directory with files in it, due to a previous test causing the first test to fail. Instead, let's clean up before and after the test to make sure the temp area is pristine before and after the test.
* | | | | test/functional: fix a dependency on the previous test suiteJohn Szakmeister2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to debug an issue, I discovered that the tests for illegal arguments depended on the prior suite having run and started a session. Let's remove that unintentional dependency by starting our own session before each test.
* | | | | test/functional: prefix the cd command with silent to prevent hangingJohn Szakmeister2016-05-06
|/ / / / | | | | | | | | | | | | | | | | In longer directory paths, the test can hang waiting for the user to hit enter to continue. Let's use the silent prefix to avoid this.
* | | | Merge pull request #4654 from KillTheMule/testlintJustin M. Keyes2016-05-06
|\ \ \ \ | | | | | | | | | | Satisfy testlint.
| * | | | Satisfy testlint.KillTheMule2016-04-28
| | | | | | | | | | | | | | | | | | | | For that, make luatest ignore the preload.lua files.
* | | | | vim-patch:27a82e3James McCoy2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new file left out from patch 7.4.1034. https://github.com/vim/vim/commit/27a82e31ee9acedb6922093b2764f7f6860b0f91
* | | | | Merge pull request #4540 from KillTheMule/vim-patch-1236Justin M. Keyes2016-05-04
|\ \ \ \ \ | | | | | | | | | | | | vim-patch: 7.4.1236
| * | | | | vim-patch:7.4.1236pips.linux2016-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When "syntax manual" was used switching between buffers removes the highlighting. Solution: Set the syntax option without changing the value. (Anton Lindqvist) https://github.com/vim/vim/commit/885f24fbcae2a39ae496ffb3a1e139379be8fae1 Patch applied cleanly to the nvim sources except for version.c.
* | | | | | Merge pull request #4644 from KillTheMule/vim-7.4.882Justin M. Keyes2016-05-04
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.882
| * | | | | | Even though the patch is not needed for neovim, add a test for the bugfixKillTheMule2016-04-29
| | | | | | |
* | | | | | | Add test for vim-patch 7.4.672KillTheMule2016-05-02
| | | | | | |
* | | | | | | vim-patch:7.4.672KillTheMule2016-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When completing a shell command, directories in the current directory are not listed. Solution: When "." is not in $PATH also look in the current directory for directories. https://github.com/vim/vim/commit/b5971141dff0c69355fd64196fcc0d0d071d4c82 Most of it applied manually.
* | | | | | | ex_getln: Do not crash with :append/:insert/:changeZyX2016-04-29
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change effectively disables history for lines inserted using this method. Not a big problem since it does not work for them in Vim in first place. Also solves a bug(?): ex_window() run while in :append mode opens search history in Vim for some reason. Now it opens empty cmdline window.
* / / / / / Remove old UNIX ifdef from buf_write()Rui Abreu Ferreira2016-04-28
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When backupcopy=auto buf_write assumes backupcopy=yes when the file is a hard/symbolic link. However this check was guarded by a UNIX ifdef. The check itself is portable and the guard can be removed. Added a couple tests to check the behaviour of bkc=auto and bkc=no with a symbolic link. Reported in #4525
* | | | | test: matchparen_spec.luaKillTheMule2016-04-27
| | | | | | | | | | | | | | | | | | | | Covers vim-patch 7.4.1296
* | | | | vim-patch:7.4.1006 #4605Michael Ennen2016-04-27
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The fix in patch 7.3.192 is not tested. Solution: Add a test, one for each regexp engine. (Elias Diem) https://github.com/vim/vim/commit/96c664af27ec9535f2c3cd9b889faad3e9460ad6 The patch was applied to 044_099_regexp_multibyte_magic_spec.lua as these two legacy tests (44 and 99) were merged together (and de-duplicated) in Neovim.
* | | | Merge pull request #4325 from watiko/vim-7.4.984Justin M. Keyes2016-04-25
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.{984,1093}
| * | | | tests: Migrate legacy test searchposwatiko2016-03-02
| | | | |
* | | | | Merge #4303 'vim-patch:7.4.{951,1143,1144}'.Justin M. Keyes2016-04-25
|\ \ \ \ \
| * | | | | tests: Migrate legacy test sortwatiko2016-03-02
| | | | | |
| * | | | | vim-patch:7.4.1143watiko2016-03-02
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't sort on floating point numbers. Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f" flag to sort(). https://github.com/vim/vim/commit/f7edf40448a09e04eec3bd05e043f7fea93b07c9
* | | | | Merge pull request #4273 from watiko/vim-7.4.957Justin M. Keyes2016-04-25
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:7.4.{941,942,957}
| * | | | | tests: Migrate legacy test tagcasewatiko2016-03-06
| | | | | |
* | | | | | mouse: Implement horizontal scroll. #3450bambu2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Code from Vim source. - Removed the check for 'guioptions' - mouse_spec.lua: test <ScrollWheelLeft> and <ScrollWheelRight> - Move horizontal scroll logic to mouse.c - Remove 'gui_' from the function names - Renamed variables to be more specific (as opposed to generic p, w). - Marked some functions as `static`
* | | | | | test/unit: ensure event_init()Justin M. Keyes2016-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #4635 References #4630 References https://github.com/neovim/neovim/pull/4070#discussion_r50626558
* | | | | | test: shell_spec: rename variableJustin M. Keyes2016-04-24
| | | | | |
* | | | | | tests/ui: screen tests for completion popupmenuBjörn Linse2016-04-24
| | | | | |
* | | | | | Merge pull request #4367 from jbradaric/vim-7.4.1107Justin M. Keyes2016-04-22
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.{1107,1114,1116,1117,1120}
| * | | | | | delete_spec: Fix linter errors.Jurica Bradaric2016-04-20
| | | | | | |
| * | | | | | Merge tempfile.c back into fileio.cJurica Bradaric2016-04-20
| | | | | | |
| * | | | | | vim-patch:7.4.1120Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) Solution: Ignore not finding matches in an empty directory. https://github.com/vim/vim/commit/336bd622c31e1805495c034e1a8cfadcc0bbabc7
| * | | | | | vim-patch:7.4.1114Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: delete() does not work well with symbolic links. Solution: Recognize symbolik links. https://github.com/vim/vim/commit/43a34f9f74fdce462fa250baab620264c28b6165
| * | | | | | vim-patch:7.4.1107Jurica Bradaric2016-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim can create a directory but not delete it. Solution: Add an argument to delete() to make it possible to delete a directory, also recursively. https://github.com/vim/vim/commit/da440d21a6b94d7f525fa7be9b1417c78dd9aa4c