use Test::More qw(no_plan); use App::RecordStream::Test::OperationHelper; BEGIN { use_ok( 'App::RecordStream::Operation::toprettyprint' ) }; my $stream = <test_output( 'toprettyprint', [], $stream, $solution, ); my $solution2 = <test_output( 'toprettyprint', [qw(--one)], $stream, $solution2, ); $stream = <test_output( 'toprettyprint', ['--one'], $stream, $solution4, ); my $solution5 = <test_output( 'toprettyprint', ['--one', '--nonested'], $stream, $solution5, ); $stream = <test_output( 'toprettyprint', ['--one'], $stream, $solution6, );