neovim/test/functional
Justin M. Keyes 6b45e12d67 screen.lua: expect_unchanged(), get_snapshot()
Factor `get_snapshot()` out of `print_snapshot()`, so that callers can
get a table (for use with `expect()`) instead of the string form.

Try to use this to fix indeterminism in `searchhl_spec.lua`.
  - Since the screen state is collected by `screen:expect_unchanged()`,
    we don't need a deterministic initial state (which would then be
    hardcoded into the test). This allows us to check "did anything
    change in the last N ms?" rather than "did anything change compared
    to a hardcoded screen-state?"
  - This may end up fruitless, because `expect_unchanged()` depends on
    timing to wait for an initial "current state".
2019-07-20 14:25:07 +02:00
..
api api/lua: make nvim_execute_lua use native lua floats, not special tables 2019-07-01 18:44:58 +02:00
autocmd Fix missing CursorHoldI events (#3758) 2019-07-16 01:35:43 +02:00
cmdline cmdline: CTRL-R: Omit trailing <CR>. 2017-02-18 23:24:35 +01:00
core channel: refactor events, prevent recursive invocation of events 2019-06-18 10:49:38 +02:00
eval reltimefloat(): allow negative result #10544 2019-07-20 10:46:09 +02:00
ex_cmds tests: use vim.inspect (#10485) 2019-07-13 00:50:52 +02:00
fixtures test: shell-test.c: flush stdout for REP #10548 2019-07-20 12:52:33 +02:00
insert normal: Don't exit CTRL-O mode after processing K_EVENT 2019-06-04 13:59:43 +02:00
legacy vim-patch:8.1.0211: expanding a file name "~" results in $HOME 2019-05-25 20:36:01 -04:00
lua tests: loop_spec: retry (#10413) 2019-07-04 16:42:10 +02:00
normal build: update some test dependencies (#10339) 2019-06-29 22:25:00 +02:00
options vim-patch:8.1.1614: 'numberwidth' can only go up to 10 2019-07-05 21:26:46 -04:00
plugin man.vim: Handle ANSI escape sequences with ":" #10267 2019-06-30 15:25:49 +02:00
provider messages: use proper multiline error message for rpcrequest and API wrappers 2019-05-26 15:42:16 +02:00
shada jumplist: avoid extra tail entry #9805 2019-04-02 00:50:28 +02:00
terminal tests: shell-test: use count for REP (#10514) 2019-07-16 21:35:53 +02:00
ui screen.lua: expect_unchanged(), get_snapshot() 2019-07-20 14:25:07 +02:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua vim-patch:8.1.{0849,1001}: 'cursorline' highlight #9757 2019-03-19 12:24:41 +01:00
helpers.lua defaults: wildoptions=pum,tagfile #10384 2019-07-01 23:59:24 +02:00
preload.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00