summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-07-14 22:30:42 -0400
committerJesse Luehrs <doy@tozt.net>2016-07-14 22:32:58 -0400
commit1f70125c798202be1a52e567e174965b639d5c73 (patch)
treed07cb3369a025d8bf301deb4473d27854b597567 /t/basic.t
parentd69aaf9b1805728a1c3a2d49511c9e215a865828 (diff)
downloadspreadsheet-parsexlsx-1f70125c798202be1a52e567e174965b639d5c73.tar.gz
spreadsheet-parsexlsx-1f70125c798202be1a52e567e174965b639d5c73.zip
open files in raw mode
this is required on windows
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/basic.t b/t/basic.t
index a024619..1eb6be8 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -9,8 +9,8 @@ my $filename = 't/data/Test.xlsx';
my @inputs = (
$filename,
- do { open my $fh, '<', $filename or die; $fh },
- do { open my $fh, '<', $filename or die; local $/; my $d = <$fh>; \$d },
+ do { open my $fh, '<:raw:bytes', $filename or die; $fh },
+ do { open my $fh, '<:raw:bytes', $filename or die; local $/; my $d = <$fh>; \$d },
);
for my $file (@inputs) {