kakoune/test/tools/git/blame-in-diff/script
Maxime Coste 8c2775f665 Fix tests that were failing on alpine
Ensure perl exists for git blame tests, replace timing sensitive
`ui_out -ignore ...` with `ui_out -until '...'`
2024-05-10 12:07:45 +10:00

11 lines
562 B
Plaintext

ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [true] }'
# We've jumped to the new version of line 2. Move to the old version so we
# can annotate the old file.
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "k:git blame<ret>" ] }'
ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }'
# We should have jumped to the old version of line 2, assert on kak_selection.
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "x" ] }'
ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }'