aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
Commit message (Collapse)AuthorAge
* tests: integrate ex_cmds/bang_filter_spec into ui/output_specBjörn Linse2018-02-10
| | | | they test the same thing. Filtering is tested elsewhere.
* shell: support bellBjörn Linse2018-02-10
|
* shell: add test for binary and multibyte outputBjörn Linse2018-02-06
| | | | Also update existing tests for new (vim-compatible) newline behavior
* 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
* os/input.c: parse keycodes in non-string context #7411lePerdu2018-01-18
| | | | | | | | | | | cb02137dfac7 had two mistakes, of the same nature: trans_special() must be invoked with in_string=false unless the parsing context is a VimL string. replace_termcodes() and input_enqueue() are low-level mechanisms where VimL strings do not exist. keymap.c: adjust double-quote case to satisfy keymap_spec.lua closes #7410
* api: change nvim_command_output behaviorJustin M. Keyes2018-01-10
| | | | | | | | | | | | | | | | | | | Implement nvim_command_output with `execute({cmd},"silent")`. Behavior changes: - does not provoke any hit-enter prompt - no longer prepends a newline char - does not capture some noise (like the "[New File]" message, see the change to tabnewentered_spec.lua) Technically ("bug-for-bug") this a breaking change. But the previous behavior of nvim_command_output meant that it probably wasn't used for anything outside of tests. Also remove the undocumented `v:command_output` variable which was a hack introduced only for the purposes of nvim_command_output. closes #7726
* keymap: Do not use vim_isIDc in keymap.cZyX2017-11-30
| | | | | | | | Note: there are three changes to ascii_isident. Reverting first two (in find_special_key and first in get_special_key_code) normally fails the new test with empty &isident, but reverting the third does not. Hence adding `>` to &isident. Ref vim/vim#2389.
* test: :highlight validation errorsnate2017-11-25
| | | | | add test when highlight group doesn't exist. add test when an invalid color name is used for `cterm`.
* Merge #7345 'location-list update on buffer-modified'Justin M. Keyes2017-11-21
|\
* | 'viewoptions': add "curdir" flag #7447Eric Roberts2017-11-18
| | | | | | | | | | | | | | | | | | | | The flag enables the current local directory set by ":lcd" to be saved to views which is the current default behaviour. The option can be removed to disable this behaviour. closes #7435 vim-patch:8.0.1289
* | test: ctrl_c_spec: bias timeouts for success (#7451)Matthew Malcomson2017-10-28
| | | | | | | | | | Having timeouts that are likely to fail incurs a penalty of waiting for screen:expect() to fail, hence removing such small timeouts will speed up the test on average.
* | test: avoid redundant clear() #7340Justin M. Keyes2017-10-16
| |
* | More testsKillTheMule2017-10-02
| |
* | menu_get: adjust tests for prettyprintingKillTheMule2017-10-01
|/ | | | ... and add a bit of new testing
* menu_get(): docJustin M. Keyes2017-07-28
|
* viml: introduce menu_get() function #6322Matthieu Coudron2017-07-28
| | | | menu_get({path}, {modes}). See :h menu_get.
* functests: Ensure different SIDs on successive source() callsZyX2017-07-04
|
* functests: Add some more :echo tests which also check for regressionZyX2017-07-04
| | | | Fixes #6954
* functests: Make ex_cmds/echo actually use :echoZyX2017-07-04
|
* functests: Copy eval/string_spec.lua to ex_cmds/echo_spec.luaZyX2017-07-04
|
* mksession: Restore tab-local working directory #6859HiPhish2017-06-11
| | | | | | | | The ':tcd' command is the first tab-specific command written to the file and it is wrapped inside an 'if has('nvim')' block to keep the session file compatible with Vim. Closes #6678
* Merge #6737 "options: make 'highlight' read-only"Justin M. Keyes2017-05-15
|\
| * options: make 'highlight' read-onlyBjörn Linse2017-05-15
| |
* | functests: Replace check_provider -> missing_provider with err reportZyX2017-05-13
| |
* | functests: Test invalid behaviourZyX2017-05-13
|/ | | | Test correctly fail for oneline ruby, python and python3.
* oldfiles_spec: Add tests for ":filter ... oldfiles"James McCoy2017-04-29
|
* oldfiles_spec: Set the shada file in the sessionJames McCoy2017-04-29
|
* Merge #6539 'More cursor shape modes'Justin M. Keyes2017-04-21
|\
| * tests: detect invalid helpers.sleepBjörn Linse2017-04-21
| |
* | ex_cmds.c: Fix bug in ex_z (#6557)sander22017-04-21
|/ | | | vim-patch:8.0.0571
* win/test: Enable recover_spec.luaJustin M. Keyes2017-04-11
|
* test: `:file {name}`Justin M. Keyes2017-04-11
|
* Merge #6488 from ZyX-I/coverity-fixesJustin M. Keyes2017-04-10
|\
| * coverity/56795: Fix NULL dereference in :syn keyword non-printableZyX2017-04-09
| | | | | | | | Bug was introduced 3 years earlier, in 13848aa: NULL keyword_copy was incorrectly treated as an indicator of OOM.
* | functests: Fix linter errorsZyX2017-04-09
| |
* | functests: Fix some tests which are failing locally for unrelated reasonsZyX2017-04-09
| |
* | 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.
* functests: Test some :write errorsZyX2017-04-03
|
* eval: Make sure that v:_null_dict does not crash dictwatcher*()ZyX2017-03-29
| | | Ref #4615
* eval: Move remaining get_tv_string* functions to eval/typval.cZyX2017-03-29
|
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* defaults: 'showcmd', 'belloff', 'ruler'Justin M. Keyes2017-03-16
| | | | | | | | | | | - Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
* Allow lambdas to be used with jobs, timers and dictwatchers.Michael Ennen2017-02-14
|
* Don't set b_u_curhead in ex_undojoin()Matthew Malcomson2017-01-22
| | | | | vim-patch:8.0.0205 This provides no benefit, and introduces some bugs.
* ci: Disable "CTRL-C interrupts :global" testJustin M. Keyes2017-01-19
| | | | | This test is low-value, high-cost. It's slow, and sometimes crashes luajit. It's still enabled on local runs, that's good enough.
* eval: Remove dictwatcher from watchers queue before freeing itJames McCoy2017-01-12
| | | | | | | | | | | | | | This fixes a use-after-free noticed by ASAN which would occur when a dictwatcher was still active on a dictionary when the dictionary was freed. fun! MakeWatch() let d = {'foo': 'bar'} call dictwatcheradd(d, 'foo', function('...')) endfun Patch-by: oni-link Closes #5930
* test: skip_fragile(), TEST_SKIP_FRAGILEJustin M. Keyes2017-01-04
| | | | | | | Let build systems define TEST_SKIP_FRAGILE to skip tests that are known to be resource-intensive (unreliable on slow systems). References https://github.com/neovim/neovim/pull/5488#issuecomment-265622113
* test: ctrl_c_specJustin M. Keyes2017-01-04
| | | | | | | - Improve test reliability by only checking for a line with the string we are interested in ("Interrupt"). - Try to avoid OOM by loading an existing big file instead of looping to create one.
* Add some tests and cleanup.Michael Ennen2016-12-12
|
* Make partials work with jobs, timers, and dictwatchers.Björn Linse2016-12-12
|