aboutsummaryrefslogtreecommitdiffstats
path: root/testing/test.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-02-28 00:32:04 +0000
committerTom Feist <shabble@metavore.org>2011-02-28 00:32:04 +0000
commit1063657c9145eed77b9228066488c91880093391 (patch)
tree0c83a09d88e70150bef99c3d301c2b20f714445d /testing/test.pl
parentrandom checkin, thinks are a bit in flux and about to change greatly so I'm (diff)
downloadirssi-scripts-1063657c9145eed77b9228066488c91880093391.tar.gz
irssi-scripts-1063657c9145eed77b9228066488c91880093391.zip
refactor everything to make tests more test-like.
Diffstat (limited to '')
-rwxr-xr-xtesting/test.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test.pl b/testing/test.pl
index d505758..ea90e1c 100755
--- a/testing/test.pl
+++ b/testing/test.pl
@@ -19,8 +19,8 @@ say "Created test instance";
my $test = $tester->new_test('test1');
-$test->add_input_sequence("/echo Hello\n");
-$test->add_delay(2);
+$test->add_input_sequence("/echo Hello cats\n");
+$test->add_delay(20);
$test->add_input_sequence("/echo Hello Again\n");
for (1..10) {
$test->add_input_sequence($_);
@@ -37,7 +37,7 @@ $test->add_input_sequence("/clear\n");
my $test2 = $tester->new_test("Test2");
-$test2->add_input_sequence("hello");
+$test2->add_input_sequence("hello from twooooooo");
$test2->add_delay(5);
$test2->add_pattern_match(qr/hello/, 'prompt', 'hello');