From f342a382bbd8471d1a74fd11030aa98557898c7e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 16 Jul 2009 02:46:36 -0500 Subject: don't double-interpolate $^X in the tests --- t/001-basic.t | 2 +- t/002-read-write.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/001-basic.t b/t/001-basic.t index 81c7037..6ec549d 100644 --- a/t/001-basic.t +++ b/t/001-basic.t @@ -17,7 +17,7 @@ test_tcp( 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'"]); + extra_argv => ['$^X', "-e", "print 'foo'"]); \$tc->run; EOF my $pty = IO::Pty::Easy->new; diff --git a/t/002-read-write.t b/t/002-read-write.t index b006370..153f8c6 100644 --- a/t/002-read-write.t +++ b/t/002-read-write.t @@ -18,7 +18,7 @@ test_tcp( my \$tc = App::Termcast->new( host => '127.0.0.1', port => $port, user => 'test', password => 'tset', - extra_argv => ["$^X", "-e", "while (<>) { last if /\\\\./; print }"]); + extra_argv => ['$^X', "-e", "while (<>) { last if /\\\\./; print }"]); \$tc->run; EOF my $pty = IO::Pty::Easy->new; -- cgit v1.2.3-54-g00ecf