hints change, so fix them tests

This commit is contained in:
Jorge Morante 2019-01-15 08:59:17 +01:00
parent f1071294c7
commit eab436f4a0
6 changed files with 9 additions and 7 deletions

View File

@ -13,7 +13,7 @@ init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "i"
tmuxomatic send-keys "d"
echo_yanked
tmuxomatic__expect "yanked text is scripts/hints.sh"

View File

@ -11,8 +11,10 @@ tmuxomatic__exec "tmux -f /home/vagrant/shared/test/conf/basic.conf new -s test"
init_pane_fish
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "i"
tmuxomatic send-keys "d"
echo_yanked
sleep 1.0
tmuxomatic__expect "yanked text is scripts/hints.sh"
tmuxomatic__end end_hook

View File

@ -13,11 +13,11 @@ tmuxomatic__exec "cat ./test/fixtures/custom-patterns"
tmuxomatic send-keys "echo yanked text is "
invoke_fingers
tmuxomatic send-keys "i"
tmuxomatic send-keys "d"
tmux_paste
invoke_fingers
tmuxomatic send-keys "o"
tmuxomatic send-keys "s"
tmux_paste
tmuxomatic send-keys Enter

View File

@ -13,7 +13,7 @@ tmuxomatic__exec "cat ./test/fixtures/ip-output"
sleep 1.0
invoke_fingers
tmuxomatic send-keys "t"
tmuxomatic send-keys "r"
echo_yanked
tmuxomatic__expect "yanked text is 10.0.3.1"

View File

@ -11,7 +11,7 @@ init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "i"
tmuxomatic send-keys "d"
tmuxomatic__sleep 1
tmuxomatic__exec "cat /tmp/tmux-yank-result"

View File

@ -14,7 +14,7 @@ init_pane
tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "i"
tmuxomatic send-keys "d"
echo_yanked
tmuxomatic__expect "yanked text is scripts/hints.sh"