summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-03-06 02:57:24 -0600
committerJesse Luehrs <doy@tozt.net>2012-03-06 02:57:24 -0600
commit029d7083452d578ab264b9525e045d238187c511 (patch)
tree390c6a4dc4e6c97d6d33e6200464dec5610fc5d3 /t/basic.t
parent8cb6982279013480b6a5af29f737b6968bb3ae30 (diff)
downloadterm-filter-029d7083452d578ab264b9525e045d238187c511.tar.gz
term-filter-029d7083452d578ab264b9525e045d238187c511.zip
hardcoding -Ilib here is wrong
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/basic.t b/t/basic.t
index 0df6495..13e77f3 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -18,7 +18,7 @@ SCRIPT
my $crlf = "\x0d\x0a";
-$pty->spawn($^X, '-Ilib', '-e', $script);
+$pty->spawn($^X, (map { "-I $_" } @INC), '-e', $script);
# just in case
alarm 60;