projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cdf9e
)
CSV-Helfer-Test: In-Memory-Streams mit richtigem Encoding initlisieren
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 13:37:48 +0000
(15:37 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 13:37:48 +0000
(15:37 +0200)
t/helper/csv.t
patch
|
blob
|
history
diff --git
a/t/helper/csv.t
b/t/helper/csv.t
index
3a8556c
..
bab3825
100644
(file)
--- a/
t/helper/csv.t
+++ b/
t/helper/csv.t
@@
-552,7
+552,7
@@
ok !$csv->_check_multiplexed, 'multiplex check detects empty header';
#####
$csv = SL::Helper::Csv->new(
- file => \
<<EOL
,
+ file => \
Encode::encode('utf-8', <<EOL)
,
description;longdescription;datatype
name;customernumber;datatype
Kaffee;"lecker Kaffee";P
@@
-580,7
+580,7
@@
is_deeply $csv->get_data, [ { datatype => 'P', description => 'Kaffee', longdesc
#####
$csv = SL::Helper::Csv->new(
- file => \
<<EOL
,
+ file => \
Encode::encode('utf-8', <<EOL)
,
datatype;description;longdescription
name;datatype;customernumber
P;Kaffee;"lecker Kaffee"