summaryrefslogtreecommitdiffstats
path: root/t/callbacks.t
diff options
context:
space:
mode:
Diffstat (limited to 't/callbacks.t')
-rw-r--r--t/callbacks.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/callbacks.t b/t/callbacks.t
index 5197b32..cb99c18 100644
--- a/t/callbacks.t
+++ b/t/callbacks.t
@@ -49,7 +49,7 @@ alarm 60;
{
my $pty = IO::Pty::Easy->new(handle_pty_size => 0);
- $pty->spawn($^X, '-Ilib', '-e', $script);
+ $pty->spawn($^X, (map { "-I $_" } @INC), '-e', $script);
my $setup_str = full_read($pty);