diff options
Diffstat (limited to 't/03-write-to-termcast.t')
-rw-r--r-- | t/03-write-to-termcast.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/03-write-to-termcast.t b/t/03-write-to-termcast.t index 6e65e82..f8f1950 100644 --- a/t/03-write-to-termcast.t +++ b/t/03-write-to-termcast.t @@ -26,7 +26,7 @@ test_tcp( my $client = $sock->accept; my $login; $client->recv($login, 4096); - my $auth_regexp = qr/^hello test tset\n\e\[H\x00.+?\xff\e\[H\e\[2J/; + my $auth_regexp = qr/^hello test tset\n(?:\e\[H\x00.+?\xff\e\[H\e\[2J)?/; like($login, $auth_regexp, 'got the correct login info'); $client->send("hello, test\n"); |