From 8892d20c4cd73ed30dc47bbc5cc182128100714e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 18 Jul 2023 18:23:58 +0200 Subject: test existing it_pipe frontend behaviour --- test/it_pipe.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/it_pipe.t b/test/it_pipe.t index a3cebd6..15e51f6 100755 --- a/test/it_pipe.t +++ b/test/it_pipe.t @@ -1,6 +1,12 @@ #!/www/server/bin/php lines[1], " "foo"])->lines(), ["foo"]); +is(it::pipe('echo {x}', ['x' => "foo"])->lines(), ["foo"]); +is(it::pipe(['foo'])->lines(), ["foo"]); + # csv() is(json_encode((new it_pipe(['data' => ["a\tb", "1\t2"]]))->csv()), '[{"a":"1","b":"2"}]'); is(json_encode((new it_pipe(['data' => ["a;b", "1;2"]]))->csv()), '[{"a":"1","b":"2"}]'); -- cgit v1.2.3