mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
6b45e12d67
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". |
||
---|---|---|
.. | ||
api | ||
autocmd | ||
cmdline | ||
core | ||
eval | ||
ex_cmds | ||
fixtures | ||
insert | ||
legacy | ||
lua | ||
normal | ||
options | ||
plugin | ||
provider | ||
shada | ||
terminal | ||
ui | ||
viml | ||
example_spec.lua | ||
helpers.lua | ||
preload.lua |