From 877713e9442c55e11742cdb8573bf3c8753eb4cb Mon Sep 17 00:00:00 2001 From: Jason May Date: Fri, 11 Mar 2011 18:34:37 -0500 Subject: update tests for the immediate geometry update --- t/03-write-to-termcast.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 't/03-write-to-termcast.t') diff --git a/t/03-write-to-termcast.t b/t/03-write-to-termcast.t index 852c5f4..1e505f2 100644 --- a/t/03-write-to-termcast.t +++ b/t/03-write-to-termcast.t @@ -29,12 +29,10 @@ test_tcp( my $client = $sock->accept; my $login; $client->recv($login, 4096); - is($login, "hello test tset\n", 'got the correct login info'); + 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"); - # skip over metadata - tested in 01-basic.t - $client->recv(my $metadata, 4096); - my $buf; $client->recv($buf, 4096); is($buf, 'foo', 'wrote correctly'); -- cgit v1.2.3-54-g00ecf