diff options
author | Christian Schneider | 2023-07-19 14:19:59 +0200 |
---|---|---|
committer | Christian Schneider | 2023-07-19 14:19:59 +0200 |
commit | a873d972cd827197f5314346f17bddd6338c8e52 (patch) | |
tree | 3fa1b6a584706fcfefd61fc22d29b9a9b7d77c2c | |
parent | c3b2d0515f7631fa4ffd693ef17bbb061064b260 (diff) | |
download | itools-a873d972cd827197f5314346f17bddd6338c8e52.tar.gz itools-a873d972cd827197f5314346f17bddd6338c8e52.tar.bz2 itools-a873d972cd827197f5314346f17bddd6338c8e52.zip |
Make test work when called from runtests which changes cwd
-rwxr-xr-x | test/it_pipe.t | 2 |
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"]); |