From 1063657c9145eed77b9228066488c91880093391 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Mon, 28 Feb 2011 00:32:04 +0000 Subject: refactor everything to make tests more test-like. --- testing/test.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testing/test.pl') 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'); -- cgit v1.2.3