summaryrefslogtreecommitdiffstats
path: root/t/001-basic.t
diff options
context:
space:
mode:
Diffstat (limited to 't/001-basic.t')
-rw-r--r--t/001-basic.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/001-basic.t b/t/001-basic.t
index 6ec549d..7dd9a7e 100644
--- a/t/001-basic.t
+++ b/t/001-basic.t
@@ -16,9 +16,8 @@ test_tcp(
my $client_script = <<EOF;
use App::Termcast;
my \$tc = App::Termcast->new(host => '127.0.0.1', port => $port,
- user => 'test', password => 'tset',
- extra_argv => ['$^X', "-e", "print 'foo'"]);
- \$tc->run;
+ user => 'test', password => 'tset');
+ \$tc->run('$^X', "-e", "print 'foo'");
EOF
my $pty = IO::Pty::Easy->new;
$pty->spawn("$^X", "-e", $client_script);