diag dump( @expected ) if $debug;
-ok(my $input = WebPAC::Input->new( module => 'WebPAC::Input::Excel', no_progress_bar => 1, %LOG ), 'new input' );
+ok(my $input = WebPAC::Input->new( module => 'WebPAC::Input::Excel', no_progress_bar => 1, encoding => 'utf-16', %LOG ), 'new input' );
ok(my $db = $input->open( path => $path ), "input->open $path");
cmp_ok( $input->size, '==', $#expected, "same size" );
my $ds = shift @expected;
my $rec = $input->fetch;
diag dump( $ds, $rec ) if $debug;
- is_deeply( $ds, $rec, "$mfn same?" );
+ is_deeply( $rec, $ds, "$mfn same?" );
}