use Test::More;
use App::RecordStream::Test::Tester;
BEGIN { use_ok( 'App::RecordStream::Operation::fromcsv' ) };
my $tester = App::RecordStream::Test::Tester->new('fromcsv');
my $input;
my $output;
my $error;
$input = <test_stdin([], $input, $output);
$input = <test_stdin(['--strict'], $input, $output);
$input = <test_stdin(['--header'], $input, $output);
$input = <test_stdin(['--key', 'zip/#0,zip/#1,zip/#2'], $input, $output);
SKIP: {
skip "Text::CSV_PP doesn't currently handle embedded newlines + allow_loose_quotes (i.e. recs-fromcsv without --strict option)" => 1
unless $INC{'Text/CSV_XS.pm'};
$input = <test_stdin(['--key', 'zip/#0,zip/#1,zip/#2'], $input, $output);
}
$input = <test_stdin(['--delim', ';'], $input, $output);
$output = <