1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-06-30 08:01:00 +02:00
tmux-fingers/test/specs/basic-yank_spec.sh
2017-04-23 19:05:28 +02:00

21 lines
413 B
Bash
Executable File

#!/usr/bin/env bash
#set -x
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 "basic"
init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "i"
echo_yanked
tmuxomatic__expect "yanked text is scripts/hints.sh"
tmuxomatic__end end_hook