use Test::More qw(no_plan); use App::RecordStream::Test::OperationHelper; use strict; use warnings; BEGIN { use_ok( 'App::RecordStream::Operation::multiplex' ) }; my $stream = <do_match( 'multiplex', [qw(-k t -L l -- recs-frommultire --re), 'a=^T=.*,A=(.*)$', '--re', 'b=^T=.*,B=(.*)$'], $stream, $solution, ); my $solution2 = <do_match( 'multiplex', [qw(-k t -- recs-xform), '{{c}} = ++$c; {{t}} = "ooga"; {{u}} = "booga"'], $stream, $solution2, ); my $solution3 = <test_output( 'multiplex', [qw(-k t -- recs-eval), '$c++; "$c {{l}}"'], $stream, $solution3, ); my $solution4 = <do_match( 'multiplex', [qw(-k t -- recs-collate -a ct)], $stream, $solution4, );