aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval
Commit message (Collapse)AuthorAge
* Merge #7860 'fix get_buffer_lines'Justin M. Keyes2018-01-16
|\
| * get_buffer_lines: Return a string, when requested, on invalid inputJames McCoy2018-01-15
|/ | | | Closes #7859
* vim-patch:8.0.0151,3,4 #7389Justin M. Keyes2018-01-15
| | | | | | | | | | | | | | | | | | | vim-patch:8.0.0151 Problem: To pass buffer content to system() and systemlist() one has to first create a string or list. Solution: Allow passing a buffer number. (LemonBoy, closes vim/vim#1240) https://github.com/vim/vim/commit/12c4492dd35e0cd83c8816be2ec849b836109882 vim-patch:8.0.0153 Problem: system() test fails on MS-Windows. Solution: Deal when extra space and CR. https://github.com/vim/vim/commit/9d9c35651712b88c81f1ae11091de1fd0bbbd35c vim-patch:8.0.0154 Problem: system() test fails on OS/X. Solution: Deal with leading spaces. https://github.com/vim/vim/commit/31f19ce0a052f7c76d44a9a190e468c79cf5d56d
* test: win: yes is unavailable on WindowsJan Edmund Lazo2018-01-06
|
* win: test: check non-shell system()Jan Edmund Lazo2018-01-06
|
* test: use unix fileformat to test NULs on systemlistJan Edmund Lazo2018-01-06
|
* functests: Fix linter errorZyX2017-12-16
|
* window: Fix matchaddpos() and enhance error reportingZyX2017-12-15
|
* *: Fix some problems found during reviewZyX2017-12-15
| | | | Still missing: problems in window.c, it should be possible to construct a test for them.
* eval: Fix add()ZyX2017-12-11
|
* *: Fix test failuresZyX2017-12-11
|
* functests: Add some more NULL testsZyX2017-12-10
|
* eval: Fix uniq() crash in legacy test 055ZyX2017-12-10
|
* functests: Mark islocked("v:_null_list") behaviour correctZyX2017-12-10
| | | It is the same for other VAR_FIXED lists.
* quickfix: Fix :cexpr and :lexprZyX2017-12-10
|
* eval: Fix setmatches(), setqflist() and setloclist()ZyX2017-12-10
|
* eval,functests: Fix tests and complete() and setline() behaviourZyX2017-12-10
|
* *: Hide list implementation in other files as wellZyX2017-12-10
|
* eval: Fix writefile()ZyX2017-12-10
|
* eval: Fix inputlist()ZyX2017-12-10
|
* *: Start hiding list implementationZyX2017-12-10
| | | | Most of files, except for eval.c and eval/* were only processed by perl.
* Viml: Make filter and map handle null list correctFlorianGit2017-12-03
| | | | | | | | | | | | | | | | | | | filter('v:_null_list, 'v:val') should return v:_null_list and a similar statement should hold for map. Changes after review * Test inserted in legacy test suite has been removed by reverting the commit adding it. * Change the fix to tv_copy the argument before returning. * Readd the two tests on crashes, and modified their expected return value. * Move the test from 'incorrect behaviour' section to 'correct behaviour section' * Add analogous tests for v:_null_dict Always copy list or dictionary to return variable If the type of input is correct (i.e. either a list or a dictionary), this should also be returned.
* compat: "v:count" distinct from "count" (#7407)Marco Hinz2017-11-09
|
* eval/decode.c: Avoid NULL arg to memchr() #7332Adrian Neumann2017-11-06
| | | | | | | Clang complains because memchr has undefined behavior if the ptr is NULL, even if len==0. Helped-by: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru>
* test: server_spec: Tolerate missing protocol (#7478)James McCoy2017-11-02
| | | | | | | | | | | | | | | | | Travis disabled IPv6: [ RUN ] serverstart(), serverstop() parses endpoints correctly: FAIL ...build/neovim/neovim/test/functional/eval/server_spec.lua:83: Expected objects to be the same. Passed in: (table) { [1] = '127.0.0.1:12345' } Expected: (table) { [1] = '127.0.0.1:12345' *[2] = '::1:12345' } Change all tests to ensure a server was actually started before expecting it to be returned from serverlist().
* getcmdline_prompt: Temporarily disable msg_silent so prompt is displayedJames McCoy2017-10-14
| | | | | vim-patch:7.4.1636 Closes #7378
* functests: Remove wait() from input_specZyX2017-08-06
|
* Revert "functests: Replace wait() with nvim_async"ZyX2017-07-27
| | | | | | This reverts commit e129607988b88719935bc4af517e7ee2689f5871. Tests stopped working in CI.
* functests: Replace wait() with nvim_asyncZyX2017-07-26
|
* functests: Remove unneeded wait()sZyX2017-07-26
|
* Merge branch 'master' into colored-cmdlineZyX2017-07-15
|\
| * mbyte: Fix crash when using multibyte chars in maparg() return (#6986)Nikolai Aleksandrovich Pavlov2017-07-09
| | | | | | | | | | | | | | | | This is a refactoring typo from #6947. Fixes #6985 Combined with #6947 where typo was made it also fixes vim/vim#1827 which was present in Neovim.
| * test: handle single-char hostname (#6939)KunMing Xie2017-07-01
| |
* | functests: Add missing wait()ZyX2017-06-27
| |
* | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
|/
* functests: Move function_spec to evalZyX2017-06-20
|
* functests/msgpack: Correct representation of literal INT64_MINJames McCoy2017-06-06
| | | | | | In order to generate INT64_MIN from literal values, it's necessary to use "-0x7fffffffffffffff - 1". Using "-0x8000000000000000" causes the value to get clamped to INT64_MAX and then negated.
* functests/msgpack: Use assert_equal() for more informative errorsJames McCoy2017-06-06
|
* Merge pull request #6680 from mhinz/listen/localhostJames McCoy2017-05-28
|\ | | | | Use uv_getaddrinfo() for servers
| * eval: serverstart: Return finalized address to userJames McCoy2017-05-28
| | | | | | | | | | In the process of setting up the socket watcher, the address may be changed (e.g., adding the OS-selected port).
| * Server tests: endpoint parsing in serverstart()Marco Hinz2017-05-22
| |
| * Server tests: use helpers.command()Marco Hinz2017-05-22
| |
* | get_keymap API (#6236)TJ DeVries2017-05-25
|/ | | | | | | * Add api function get keymap nvim_get_keymap(mode) nvim_buf_get_keymap(buffer, mode)
* Merge #6480 from ZyX-I/colored-cmdline'/input-dictJustin M. Keyes2017-05-13
|\
| * functests: Reword regression test headersZyX2017-05-13
| |
| * functests: Remove “correctly” from non-regression testsZyX2017-05-13
| |
| * functests: Get rid of last redraws due to the “line above” issueZyX2017-05-11
| |
| * functests: Remove outdated commentsZyX2017-05-10
| |
| * functests: Remove some redraw callsZyX2017-05-10
| |
| * functests: Remove all wait()sZyX2017-05-10
| |