aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2015-05-15 19:03:48 +0200
committerLucas Hoffmann <l-m-h@web.de>2015-06-22 11:58:43 +0200
commit8c999a9d6cbf892d66900ee626a3600ddc7d9849 (patch)
tree7321caf86ac23625662859c2ec5b9f6f463d4684 /test/functional/api/vim_spec.lua
parenta743297be2b39247fc0086302a8a370d46ee0290 (diff)
downloadrneovim-8c999a9d6cbf892d66900ee626a3600ddc7d9849.tar.gz
rneovim-8c999a9d6cbf892d66900ee626a3600ddc7d9849.tar.bz2
rneovim-8c999a9d6cbf892d66900ee626a3600ddc7d9849.zip
tests: Migrate legacy test 61.
This test is real time based as it also tests the `:earlier` and `:later` commands with time arguments (using `:sleep`). This can sometimes case the test to fail on systems that are under heavy load or where the time interval between creating the expected buffer state and the `:earlier` or `:later` command that tries to jump to it changes. To be system independent we use nvim's `:sleep` command and `wait()` for it in the test suit. The legacy vim test writes to test.out a lot with `:.w >>test.out`. This does currently not work in the lua test suite so the test is modernized to use busted's assertions instead of the output file. This test was treated special in the legacy Makefile but after the conversion the related code can be removed.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions