From 95e0d1d20a50bc9cb042b5149e9adc6fd70820a3 Mon Sep 17 00:00:00 2001 From: Geoff Maciolek Date: Thu, 30 Jul 2015 10:42:18 -0400 Subject: [PATCH] Updated test text for ENTER-q change. tmux-plugins/tpm#43 --- tests/expect_successful_clean_plugins | 2 +- tests/expect_successful_multiple_plugins_download | 4 ++-- tests/expect_successful_plugin_download | 4 ++-- tests/expect_successful_update_of_a_single_plugin | 4 ++-- tests/expect_successful_update_of_all_plugins | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/expect_successful_clean_plugins b/tests/expect_successful_clean_plugins index f6b2e3a..b2522c6 100755 --- a/tests/expect_successful_clean_plugins +++ b/tests/expect_successful_clean_plugins @@ -18,7 +18,7 @@ expect { "Removing \"tmux-example-plugin\"" { expect { "\"tmux-example-plugin\" clean success" { - expect { "Done, press ENTER to continue." { exit 0 } } + expect { "Done, press \"q\" to continue." { exit 0 } } } } } diff --git a/tests/expect_successful_multiple_plugins_download b/tests/expect_successful_multiple_plugins_download index 931db15..5a74a3b 100755 --- a/tests/expect_successful_multiple_plugins_download +++ b/tests/expect_successful_multiple_plugins_download @@ -23,10 +23,10 @@ expect { "Installing \"tmux-example-plugin\"" { expect { "\"tmux-copycat\" download success" { - expect { "Done, press ENTER to continue" { + expect { "Done, press \"q\" to continue" { send " " } - } # Done, press ENTER to continue + } # Done, press \"q\" to continue } } # "tmux-copycat" download success diff --git a/tests/expect_successful_plugin_download b/tests/expect_successful_plugin_download index 027af37..1356240 100755 --- a/tests/expect_successful_plugin_download +++ b/tests/expect_successful_plugin_download @@ -21,7 +21,7 @@ expect { expect { "\"tmux-example-plugin\" download success" { - expect { "Done, press ENTER to continue" { + expect { "Done, press \"q\" to continue" { send " " } } @@ -43,7 +43,7 @@ send "I" expect { "Already installed \"tmux-example-plugin\"" { - expect { "Done, press ENTER to continue" { exit 0 } } + expect { "Done, press \"q\" to continue" { exit 0 } } } diff --git a/tests/expect_successful_update_of_a_single_plugin b/tests/expect_successful_update_of_a_single_plugin index cfff332..3c51957 100755 --- a/tests/expect_successful_update_of_a_single_plugin +++ b/tests/expect_successful_update_of_a_single_plugin @@ -23,7 +23,7 @@ expect { expect { "\"all\" - updates all plugins" { - expect { "ENTER - cancels" } + expect { "\q\" - cancels" } } } @@ -47,7 +47,7 @@ expect { expect { "\"tmux-example-plugin\" update success" { - expect { "Done, press ENTER to continue." { exit 0 } } + expect { "Done, press \"q\" to continue." { exit 0 } } } } diff --git a/tests/expect_successful_update_of_all_plugins b/tests/expect_successful_update_of_all_plugins index 4705edd..26179ca 100755 --- a/tests/expect_successful_update_of_all_plugins +++ b/tests/expect_successful_update_of_all_plugins @@ -23,7 +23,7 @@ expect { expect { "\"all\" - updates all plugins" { - expect { "ENTER - cancels" } + expect { "\"q\" - cancels" } } } @@ -50,7 +50,7 @@ expect { expect { "\"tmux-example-plugin\" update success" { - expect { "Done, press ENTER to continue." { exit 0 } } + expect { "Done, press \"q\" to continue." { exit 0 } } } }