diff options
author | Tom Feist <shabble@metavore.org> | 2011-02-28 00:32:04 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-02-28 00:32:04 +0000 |
commit | 1063657c9145eed77b9228066488c91880093391 (patch) | |
tree | 0c83a09d88e70150bef99c3d301c2b20f714445d /testing/test.pl | |
parent | random checkin, thinks are a bit in flux and about to change greatly so I'm (diff) | |
download | irssi-scripts-1063657c9145eed77b9228066488c91880093391.tar.gz irssi-scripts-1063657c9145eed77b9228066488c91880093391.zip |
refactor everything to make tests more test-like.
Diffstat (limited to '')
-rwxr-xr-x | testing/test.pl | 6 |
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'); |