summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-04-14 02:07:42 -0500
committerJesse Luehrs <doy@tozt.net>2011-04-14 02:07:42 -0500
commitf0ff57fc713d7b9ae8edc9002d6afa8aa89196ef (patch)
tree8d24e7def395b9a535ccefab3e14973dba78bf64
parent85db4e0a81e4f81a6fd86f456215be91ba8c4964 (diff)
downloadapp-termcast-f0ff57fc713d7b9ae8edc9002d6afa8aa89196ef.tar.gz
app-termcast-f0ff57fc713d7b9ae8edc9002d6afa8aa89196ef.zip
in some situations, this test won't have access to the term size
not entirely sure what's going on here, but shrug
-rw-r--r--t/03-write-to-termcast.t2
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");