From 0084e295cf384c8c13001923f20de278d74435ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 10 Oct 2017 14:22:52 +0200 Subject: [PATCH] Warnings --- t/datev/datev_format_2018.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/datev/datev_format_2018.t b/t/datev/datev_format_2018.t index fb66dafb4..3660b28fd 100644 --- a/t/datev/datev_format_2018.t +++ b/t/datev/datev_format_2018.t @@ -70,7 +70,7 @@ $datev1->from($startdate); $datev1->to($enddate); $datev1->csv_buchungsexport(); my @warnings = $datev1->warnings; -is(@warnings[0]->[0]->{untranslated}, +is($warnings[0]->[0]->{untranslated}, 'Wrong field value \'#1\' for field \'#2\' for the transaction with amount \'#3\'', 'wrong_encoding'); @@ -90,7 +90,7 @@ $datev3->generate_datev_lines; $datev3->csv_buchungsexport; @warnings = []; @warnings = $datev3->warnings; -is(@warnings[0]->[0]->{untranslated}, +is($warnings[0]->[0]->{untranslated}, 'Wrong field value \'#1\' for field \'#2\' for the transaction with amount \'#3\'', 'mixed_wrong_encoding'); -- 2.20.1