aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
Commit message (Collapse)AuthorAge
* test/arglist_spec: update to Vim 8.0.0721 behaviorJustin M. Keyes2018-02-11
|
* test: port Test_edit_08() to Lua testJustin M. Keyes2018-02-11
| | | | | | | Test_edit_08() depends on special-case handling in has_compl_option() and redrawing() which are in Vim but are not wanted in Nvim. Using a Lua test instead of depending on workarounds in the core to make the VimL test work.
* 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
* test: robust cleanup, unique filenames #7950 (#7950)Justin M. Keyes2018-02-01
| | | | | | | Use unique filenames to avoid test conflicts. Use read_file() instead of io.popen(), to ensures the file is closed. Use helpers.rmdir(), it is far more robust than lfs. closes #7911
* 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
* vim-patch:8.0.0443: terminal width is set to 80 in test3 (#7933)KunMing Xie2018-01-30
| | | | | | | Problem: Terminal width is set to 80 in test3. Solution: Instead of setting 'columns' set 'wrapmargin' depending on 'columns. https://github.com/vim/vim/commit/38a3d6c9601b637a28f399059263300e9f65eba4
* test: osx: try resolve($TMPDIR)Jan Edmund Lazo2018-01-28
|
* test: fix failed tests with $TMPDIR in QuickBuildJan Edmund Lazo2018-01-28
|
* Revert "test: fix failed test cases with tmpdir = $TMPDIR"Jan Edmund Lazo2018-01-28
| | | | | | | This reverts commit f7fe3012204169f22412194a78f196ffc72bb8c3. Fails on QuickBuild because it uses a non-local path. Need a environment-agnostic solution
* test: fix failed test cases with tmpdir = $TMPDIRJan Edmund Lazo2018-01-28
|
* test: try $TMPDIR for temporary directoryJan Edmund Lazo2018-01-28
|
* win: enable legacy/fnamemodify_spec.luaJan Edmund Lazo2018-01-28
|
* 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
* *: Fix test failuresZyX2017-12-11
|
* vim-patch:8.0.0148 #7344ckelsel2017-10-07
| | | | | | | | | Problem: When a C preprocessor statement has two line continuations the following line does not have the right indent. (Ken Takata) Solution: Add the indent of the previous continuation line. (Hirohito Higashi) https://github.com/vim/vim/commit/c6aa475a27e3ed1645446b014c32ebf68d005d49
* test: lint whitespace in legacy/ (#7308)KillTheMule2017-09-24
|
* vim-patch:8.0.0186 (#7154)KunMing Xie2017-09-10
| | | | | | | Problem: The error message from assert_notequal() is confusing. Solution: Only mention the expected value. https://github.com/vim/vim/commit/5869cf060e60cc09e71b2b3bd85f0576ec78f9f5
* Merge pull request #7192 from llorens/vim-8.0.0092James McCoy2017-08-25
|\ | | | | vim-patch:8.0.0092
| * vim-patch:8.0.0092Lech Lorens2017-08-21
| | | | | | | | | | | | | | | | Problem: C indenting does not support nested namespaces that C++ 17 has. Solution: Add check that passes double colon inside a name. (Pauli, closes vim/vim#1214) https://github.com/vim/vim/commit/ca8b8d6956dd881de6446fc32c38e817a364a6cc
* | Merge #6973 from teto/normal_hlJustin M. Keyes2017-08-22
|\ \
| * | syntax.c: register 'Normal' highlight groupMatthieu Coudron2017-08-22
| |/ | | | | | | | | | | - :hi Normal works with -u NONE - Makes HL_TABLE and ATTR_ENTYRY a function instead of a macro so that in can be used in gdb. - Introduces ATTRENTRY_INIT to init attrentry_t
* | vim-patch:8.0.0437James McCoy2017-08-21
| | | | | | | | | | | | | | | | Problem: The packadd test does not create the symlink correctly and does not test the right thing. Solution: Create the directory and symlink correctly. https://github.com/vim/vim/commit/644df41c44cbdfacdedbba55ef77a6c6031eccd8
* | vim-patch:8.0.0326James McCoy2017-08-21
| | | | | | | | | | | | | | Problem: Packadd test uses wrong directory name. Solution: Use the variable name value. (Hirohito Higashi) https://github.com/vim/vim/commit/24f8f543d4036c5d2ce4ea6973a174cf2176cb72
* | vim-patch:8.0.0325James McCoy2017-08-21
| | | | | | | | | | | | | | Problem: Packadd test does not clean up symlink. Solution: Delete the link. (Hirohito Higashi) https://github.com/vim/vim/commit/913727e56761d57aaba61197c2d3485418dea7eb
* | vim-patch:8.0.0308James McCoy2017-08-21
|/ | | | | | | | | Problem: When using a symbolic link, the package path will not be inserted at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi) Solution: Resolve symbolic links when finding the right position in 'runtimepath'. (Hirohito Higashi) https://github.com/vim/vim/commit/2f9e575583c2ad3978ee3d0f790eeff7df56bd6c
* vim-patch:8.0.0124 #7092ckelsel2017-07-30
| | | | | | | Problem: Internal error for assert_inrange(1, 1). Solution: Adjust number of allowed arguments. (Dominique Pelle) https://github.com/vim/vim/commit/3421566376b5723213af502bd3c2b9debe025ef1
* vim-patch:7.4.2320James McCoy2017-06-26
| | | | | | | | | Problem: Redraw problem when using 'incsearch'. Solution: Save the current view when deleting characters. (Christian Brabandt) Fix that the '" mark is set in the wrong position. Don't change the search start when using BS. https://github.com/vim/vim/commit/dda933d06c06c2792bd686d059f6ad19191ad30b
* vim-patch:7.4.2268James McCoy2017-06-26
| | | | | | | Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. Solution: Use CTRL-T and CTRL-G instead. https://github.com/vim/vim/commit/1195669f9e434fa9ab8b57ee9470bf951e4990b8
* functests/legacy: Add lua version of test_search.vimJames McCoy2017-06-26
|
* vim-patch:8.0.0478James McCoy2017-06-06
| | | | | | | Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report(). https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
* test: Fix and add cases for unnamed registerAdnoC2017-05-31
| | | | | | | | Also: Add ru to shada tests with all keys Add test for unset unnamed and register 0
* eval/shada: Add testing for unnamed register with setreg and startupAdnoC2017-05-31
|
* regexp_nfa: Fix invalid fallthrough in character class detectionJames McCoy2017-05-12
| | | | | | | | | When the end character in a range matches a different standard range (e.g., [0-z]), the range would be incorrectly detected as the class of the end character (CLASS_az). Instead of using a fallthrough, immediately FAIL when the end character doesn't match the expected range.
* functests: Fix linter errorsZyX2017-04-09
|
* functests: Fix legacy/wordcount_specZyX2017-04-09
| | | Another test where bug was hidden by execute().
* functests: Fix legacy/eval_specZyX2017-04-09
|
* functests: Fix legacy/close_count_specZyX2017-04-09
|
* functests: Fix legacy/autocmd_option_specZyX2017-04-09
|
* functests: Fix legacy/arglist_specZyX2017-04-09
|
* functests: Fix legacy/107_adjust_window_and_contents_specZyX2017-04-09
|
* functests: Fix legacy/097_glob_path_specZyX2017-04-09
|
* functests: Fix legacy/096_location_list_specZyX2017-04-09
|
* functests: Fix legacy/067_augroup_exists_specZyX2017-04-09
|
* functests: Fix legacy/074_global_var_in_viminfo_specZyX2017-04-09
|
* functests: Fix legacy/065_float_and_logic_operators_specZyX2017-04-09
|
* functests: Fix legacy/063_match_and_matchadd_specZyX2017-04-09
|
* functests: Fix legacy/062_tab_pages_specZyX2017-04-09
|
* functests: Fix legacy/051_highlight_spec testZyX2017-04-09
|
* functests: Fix legacy/030_fileformats_spec testZyX2017-04-09
| | | | For some reason it had a number of not working bwipeout! commands. execute() successfully hid the failures, command() is not that permissive.
* functests: Replace execute with either command or feed_commandZyX2017-04-09
| | | | | | | | | | Hope this will make people using feed_command less likely: this hides bugs. Already found at least two: 1. msgpackparse() will show internal error: hash_add() in case of duplicate keys, though it will still work correctly. Currently silenced. 2. ttimeoutlen was spelled incorrectly, resulting in option not being set when expected. Test was still functioning somehow though. Currently fixed.