summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorUrban Müller2023-07-18 19:21:56 +0200
committerUrban Müller2023-07-18 19:21:56 +0200
commit1feca783d60c0fdf0c60dd65801eed07b09cb4b7 (patch)
tree0599083a2c70e025b6263f482eaac0fdae77e407 /test
parent8892d20c4cd73ed30dc47bbc5cc182128100714e (diff)
downloaditools-1feca783d60c0fdf0c60dd65801eed07b09cb4b7.tar.gz
itools-1feca783d60c0fdf0c60dd65801eed07b09cb4b7.tar.bz2
itools-1feca783d60c0fdf0c60dd65801eed07b09cb4b7.zip
support varags in it::pipe like in it::exec
Diffstat (limited to 'test')
-rwxr-xr-xtest/it_pipe.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/it_pipe.t b/test/it_pipe.t
index 15e51f6..f6b069a 100755
--- a/test/it_pipe.t
+++ b/test/it_pipe.t
@@ -5,6 +5,7 @@
is(it::cat("test/it_pipe.t")->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"]);
is(it::pipe(['foo'])->lines(), ["foo"]);
# csv()