summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_pipe.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/it_pipe.t b/test/it_pipe.t
index 79c27b2..734b7fa 100755
--- a/test/it_pipe.t
+++ b/test/it_pipe.t
@@ -2,7 +2,7 @@
<?php
# it::cat frontend
-is(it::cat("test/it_pipe.t")->lines[1], "<?php");
+is(it::cat($argv[0])->lines[1], "<?php");
is(it::cat(['data' => "foo"])->lines(), ["foo"]);
is(it::pipe('echo {x}', ['x' => "foo"])->lines(), ["foo"]);
is(it::pipe('echo {0}{1}', "f", "oo")->lines(), ["foo"]);