tmux-fingers/test/specs/tmux-yank-integration_spec.sh

21 lines
445 B
Bash
Raw Normal View History

2017-04-19 19:46:00 +02:00
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CURRENT_DIR/../tmuxomatic.sh
source $CURRENT_DIR/../helpers.sh
tmuxomatic__begin begin_hook
begin_with_conf "tmux-yank"
init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
2019-01-15 08:59:17 +01:00
tmuxomatic send-keys "d"
2017-04-19 19:46:00 +02:00
2017-04-21 09:01:12 +02:00
tmuxomatic__sleep 1
2017-04-19 19:46:00 +02:00
tmuxomatic__exec "cat /tmp/tmux-yank-result"
tmuxomatic__expect "tmux-yank yolo"
tmuxomatic__end end_hook