tests: introduce screen:expect{...} form

This commit is contained in:
Björn Linse
2018-08-20 18:51:25 +02:00
parent 03978a0f29
commit 3d88287e30
17 changed files with 600 additions and 674 deletions

View File

@@ -54,7 +54,7 @@ describe(':terminal', function()
else
feed_command([[terminal printf '\e[6n'; sleep 0.5 ]])
end
screen:expect('%^%[%[1;1R', nil, nil, nil, true)
screen:expect{any='%^%[%[1;1R'}
end)
it("in normal-mode :split does not move cursor", function()