aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
Commit message (Collapse)AuthorAge
* test: luacheck updateJustin M. Keyes2017-03-01
| | | | | We pull luacheck HEAD, so this is a "catch up" commit to fix newly-discovered errors.
* Merge #6191 from jamessan/vim-42ebd06Justin M. Keyes2017-02-28
|\ | | | | vim-patch:42ebd06,7.4.2098,6f1d9a0,7.4.2095
| * vim-patch:7.4.2095James McCoy2017-02-27
| | | | | | | | | | | | | | | | | | | | Problem: Man test fails when run with the GUI. Solution: Adjust for different behavior of GUI. Add assert_inrange(). https://github.com/vim/vim/commit/61c04493b00f85d0b97436260a9ef9ab82143b78 Only changes related to assert_inrange() were included, since we have a distinct man plugin.
* | test: Refactor fold tests (#5993)Matthieu Coudron2017-02-28
|/
* buffer: Bind b:changedtick to b:['changedtick'], remove special casesZyX2017-02-23
|
* ex_docmd.c: Allow unescaped spaces in :edit filename (#6119)Kurt Bonatz2017-02-15
| | | | | | This makes :edit consistent on all platforms. Also affects :argedit, et al. Wild (tab) completion doesn't work, though. Closes #6010
* test: Remove whitespace (avoid LF/CRLF discrepancy)Justin M. Keyes2017-02-04
|
* tests: Migrate legacy test 8. #4179Lucas Hoffmann2017-02-03
| | | | | The test produces some "hit enter" prompts and error messages that had to be dealt with by `feed`ing CTRL-L to nvim.
* Merge #2990 'tests: Migrate legacy test 69.'Justin M. Keyes2017-02-03
|\
| * tests: Modernize migrated legacy test 69.Lucas Hoffmann2017-02-03
| |
| * tests: Migrate legacy test 69.Lucas Hoffmann2016-05-23
| |
* | refactor: Remove VimL function `test_autochdir()`Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | - Eliminate global test_autochdir. - Eliminate VimL function test_autochdir() - Use a lua test instead. Fails correctly after reverting 0c4347997954 / vim-patch:7.4.2015.
* | test: quickfix: Move upstream vim quickfix test to src/nvim/testdirJames McCoy2016-12-27
| | | | | | | | | | Massaging the upstream patches for this test into the lua tests are too cumbersome and slow down patching.
* | eval.c: set_selfdict(): Fix invalid memory access.Justin M. Keyes2016-12-14
| |
* | vim-patch:7.4.1605Michael Ennen2016-12-12
| | | | | | | | | | | | | | Problem: Catching exception that won't be thrown. Solution: Remove try/catch. https://github.com/vim/vim/commit/3905e291fe4375ca5c59efa9ffcb01a39c7be3a9
* | test: helpers.retry()Justin M. Keyes2016-12-07
| |
* | Merge pull request #5662 from brcolow/vim-7.4.1701James McCoy2016-12-01
|\ \ | | | | | | vim-patch:7.4.1701
| * | vim-patch:7.4.1701Michael Ennen2016-11-24
| | | | | | | | | | | | | | | | | | | | | Problem: Equivalence classes still tested in old style tests. Solution: Remove the duplicate. https://github.com/vim/vim/commit/f9f22dbe4f90673ecce601a9dee4bb750ce3cd8f
* | | vim-patch:7.4.1699 (#5660)Michael Ennen2016-11-29
| | | | | | | | | | | | | | | | | | Problem: :packadd does not work the same when used early or late. Solution: Always load plugins matching "plugin/**/*.vim". https://github.com/vim/vim/commit/71fb0c146bef08dc276fc5793bd47366e6e0f32a
* | | vim-patch:7.4.1660Shougo Matsushita2016-11-22
|/ / | | | | | | | | | | | | Problem: has('patch-7.4.1') doesn't work. Solution: Fix off-by-one error. (Thinca) https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
* | vim-patch:7.4.1664James McCoy2016-11-15
| | | | | | | | | | | | | | Problem: Crash in :cgetexpr. Solution: Check for NULL pointer. (Dominique) Add a test. https://github.com/vim/vim/commit/89c64d557dbe0bacfdd7b2872411b00cc1523d85
* | vim-patch:7.4.1650James McCoy2016-11-15
| | | | | | | | | | | | | | Problem: Quickfix test fails. Solution: Accept any number of matches. https://github.com/vim/vim/commit/f68f1d70799631d38461c36cd59d08cf839b010d
* | vim-patch:7.4.1647James McCoy2016-11-15
| | | | | | | | | | | | | | Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) Solution: Set qf_ptr when adding the first item to the quickfix list. https://github.com/vim/vim/commit/8b20179c657b4266dff115486ca68c6a50324071
* | vim-patch:7.4.1640James McCoy2016-11-15
| | | | | | | | | | | | | | | | Problem: Crash when an autocommand changes a quickfix list. (Dominique) Solution: Check wether an entry is still valid. (Yegappan Lakshmanan, Hirohito Higashi) https://github.com/vim/vim/commit/ffec3c53496d49668669deabc0724ec78e2274fd
* | vim-patch:8.0.0035 (#5609)Shougo2016-11-15
| | | | | | | | | | | | | | Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes vim/vim#1168) https://github.com/vim/vim/commit/472e85970ee3a80abd824bef510df12e9cfe9e96
* | vim-patch:7.4.1634 (#5594)James McCoy2016-11-12
| | | | | | | | | | | | | | Problem: Vertical movement after CTRL-A ends up in the wrong column. (Urtica Dioica) Solution: Set curswant when appropriate. (Hirohito Higashi) https://github.com/vim/vim/commit/8e08125d3a9afd0b16cd84454ae9ddad0abaaab0
* | vim-patch:7.4.1614 (#5593)James McCoy2016-11-12
| | | | | | | | | | | | Problem: Still quickfix test in old style. Solution: Turn test 10 into a new style test. https://github.com/vim/vim/commit/7eba3d2cbf19e731dc51652bc26099cc253d538a
* | vim-patch:7.4.1591James McCoy2016-11-11
| | | | | | | | | | | | | | Problem: The quickfix title is truncated. Solution: Save the command before it is truncated. (Anton Lindqvist) https://github.com/vim/vim/commit/5584df65a0ca2315d1eebc13c54a448bee4d0758
* | Merge pull request #5441 from Shougo/vim-7.4.1588James McCoy2016-10-20
|\ \ | | | | | | | | | vim-patch:7.4.1588
| * | vim-patch:7.4.1588Shougo Matsushita2016-10-15
| | | | | | | | | | | | | | | | | | | | | Problem: Old style test for quickfix. Solution: Turn test 96 into a new style test. https://github.com/vim/vim/commit/1ff2b64b11e7d263c6853745d5e594bd8f94b91e
* | | vim-patch:7.4.1565Shougo Matsushita2016-10-15
|/ / | | | | | | | | | | | | Problem: Crash when assert_equal() runs into a NULL string. Solution: Check for NULL. (Dominique) Add a test. https://github.com/vim/vim/commit/f1551964448607f8222de2d8f0992ea43eb2fe67
* | vim-patch:7.4.1740Nova2016-09-22
| | | | | | | | | | | | | | | | Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
* | test: legacy/012_directory_spec: Also use dot-prefix on Windows.Justin M. Keyes2016-09-20
| | | | | | | | | | win32 handles dot-prefixed files just fine; Nvim-on-Windows does not perpetuate the Vim-on-Windows behavior of avoiding dot-prefixed files.
* | test/helpers.rmdir(): Retry once after a delay.Justin M. Keyes2016-09-20
| | | | | | | | | | Attempt to avoid "Permission denied" on Windows potentially caused by open filepath handle in sibling process.
* | tests: migrate legacy test 12. #4196Lucas Hoffmann2016-09-18
| |
* | functionaltest: Create lua helper for os.tmpname()Rui Abreu Ferreira2016-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Windows Lua's os.tmpname() returns relative paths starting with \s, prepend them with $TEMP to generate a valid path. In OS X os.tmpname() returns paths in '/tmp' but they should be in '/private/tmp'. We cannot use os_name() for platform detection because some tests use tempname() before nvim is spawned, instead use one of the following: 1. Set SYSTEM_NAME environment variable before calling the tests, it is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows') 2. Call uname -s 3. Assume windows
* | Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
| |
* | tests: don't ignore highlights in various testsBjörn Linse2016-08-14
| |
* | test: Fix os_name() call.Justin M. Keyes2016-08-09
| |
* | vim-patch:7.4.1305 #5094Michael Ennen2016-08-01
| | | | | | | | | | | | | | | | | | | | Problem: "\%1l^#.*" does not match on a line starting with "#". Solution: Do not clear the start-of-line flag. (Christian Brabandt) https://github.com/vim/vim/commit/7c29f387819b5817b003d2ba73e2b5cf3cb3d0dd Helped-by: jamessan Helped-by: mhinz
* | test: fixKillTheMule2016-07-29
| |
* | Merge #2850Justin M. Keyes2016-07-28
|\ \
| * | A bit of lintingKillTheMule2016-07-28
| | |
| * | tests: Update migrated legacy test 30 for patch 7.4.643.Lucas Hoffmann2016-05-23
| | | | | | | | | | | | The patch was merged into master at f104ce2d.
| * | tests: Migrate legacy test 30.Lucas Hoffmann2016-05-23
| |/ | | | | | | | | The original test did also create additional auxiliary files which where never used. They are not created any longer.
* | vim-patch:7.4.1179 (#5112)Hirokazu Hata2016-07-25
| | | | | | | | | | | | Problem: test_writefile and test_viml do not delete the tempfile. Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript(). https://github.com/vim/vim/commit/f4f79b84a5595c511f6fdbe4e3e1d188d97879a0
* | vim-patch:7.4.1703James McCoy2016-07-23
| | | | | | | | | | | | | | Problem: Can't assert for not equal and not matching. Solution: Add assert_notmatch() and assert_notequal(). https://github.com/vim/vim/commit/b50e5f56861deb867478997397f7c784a7043233
* | vim-patch:7.4.1663James McCoy2016-07-23
| | | | | | | | | | | | | | Problem: In tests it's often useful to check if a pattern matches. Solution: Add assert_match(). https://github.com/vim/vim/commit/ea6553bec340920d8a09c7210cdc2d218e25ace2
* | vim-patch:7.4.1548Patrick2016-07-13
| | | | | | | | | | | | | | Problem: Two tests fail. Solution: Adjust the expected error number. Remove check for type. https://github.com/vim/vim/commit/5a2800fd141a8fc0c80cdf421dcb76001a22327f
* | vim-patch:7.4.1840James McCoy2016-07-08
| | | | | | | | | | | | | | | | Problem: When using packages an "after" directory cannot be used. Solution: Add the "after" directory of the package to 'runtimepath' if it exists. https://github.com/vim/vim/commit/a57024453115592b8847af40ddd965a33898e390