projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1904@llin: dpavlin | 2009-05-30 16:21:56 +0200
[webpac2]
/
t
/
5-output-excel.t
diff --git
a/t/5-output-excel.t
b/t/5-output-excel.t
index
490fc17
..
e6c8bb0
100755
(executable)
--- a/
t/5-output-excel.t
+++ b/
t/5-output-excel.t
@@
-45,7
+45,7
@@
cmp_ok( $out->path, 'eq', $path, 'path' );
diag dump( @expected ) if $debug;
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" );
ok(my $db = $input->open( path => $path ), "input->open $path");
cmp_ok( $input->size, '==', $#expected, "same size" );
@@
-54,5
+54,5
@@
foreach my $mfn ( 1 ... $input->size ) {
my $ds = shift @expected;
my $rec = $input->fetch;
diag dump( $ds, $rec ) if $debug;
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?" );
}
}