aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/008_autocommands_spec.lua
Commit message (Collapse)AuthorAge
* fix(tests): check for EOF on exit of nvim properlybfredl2022-06-13
|
* test: update tests to work with 'hidden'Gregory Anders2021-08-18
|
* test: Improve 008_autocommands_spec reliability (#9129)Justin M. Keyes2018-10-17
| | | | | | | | | | | | Sometimes 008_autocommands_spec fails like this: [ RUN ] autocommands that delete and unload buffers: BufUnload, VimLeave: -- Output to stderr: CMake Error at /home/travis/build/neovim/neovim/cmake/RunTests.cmake:53 (message): functional tests failed with error: 1 The final :quit + wait() is a race. Use command() instead, which is synchronous. Use command('silent! ...') everywhere else too, because it's clearer instead of feeding input and clearing the expected errors with CTRL-L.
* 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
* 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.
* 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.