diff --git a/tests/from_2_matches/test.groovy b/tests/from_2_matches/test.groovy index 39870e7a..099e1743 100755 --- a/tests/from_2_matches/test.groovy +++ b/tests/from_2_matches/test.groovy @@ -2,25 +2,25 @@ * Test that a from that matches 2 inputs sets them as input1 and input2 */ hello = { - from("txt") { - filter("hello","hello2") { - msg "$input1 => $output1" - msg "$input2 => $output2" - exec "cp $input1 $output1" - exec "cp $input2 $output2" + from("txt","txt") { + filter("hello","hello2") { + msg "$input1 => $output1" + msg "$input2 => $output2" + exec "cp $input1 $output1" + exec "cp $input2 $output2" + } } - } } world = { - from("txt") { + from("txt","txt") { filter("world") { msg "$input => $output" exec "cp $input $output" } - } + } } -Bpipe.run { - hello + world +run { + hello + world }