diff mbox series

[COMMITTED] Fix test case for hr_HR monetary formatting

Message ID s9defofdc9j.fsf@taka.site
State New
Headers show
Series [COMMITTED] Fix test case for hr_HR monetary formatting | expand

Commit Message

Mike FABIAN Nov. 30, 2017, 3:20 p.m. UTC
Fix test case for hr_HR monetary formatting
    
            * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
diff mbox series

Patch

From cf4341ca90164398c05e74f72ff19dc52136731c Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Thu, 30 Nov 2017 10:50:44 +0100
Subject: [PATCH 3/5] Fix test case for hr_HR monetary formatting

	* stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
---
 ChangeLog              | 4 ++++
 stdlib/tst-strfmon_l.c | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5cc6dcfbf5..a3c2c750bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-11-30  Mike FABIAN  <mfabian@redhat.com>
+
+	* stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
+
 2017-11-30  Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
 
 	* localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
diff --git a/stdlib/tst-strfmon_l.c b/stdlib/tst-strfmon_l.c
index 1d8c842925..0276d7f957 100644
--- a/stdlib/tst-strfmon_l.c
+++ b/stdlib/tst-strfmon_l.c
@@ -163,12 +163,12 @@  static const struct locale_pair tests[] =
       "hr_HR.UTF-8",
       {
         {
-          "HRK 1\u202f234\u202f567,89", "Kn 1\u202f234\u202f567,89",
-          "HRK 1234567,89", "Kn 1234567,89"
+          "HRK 1\u202f234\u202f567,89", "1\u202f234\u202f567,89 kn",
+          "HRK 1234567,89", "1234567,89 kn"
         },
         {
-          "-HRK 1\u202f234\u202f567,89", "-Kn 1\u202f234\u202f567,89",
-          "-HRK 1234567,89", "-Kn 1234567,89"
+          "-HRK 1\u202f234\u202f567,89", "-1\u202f234\u202f567,89 kn",
+          "-HRK 1234567,89", "-1234567,89 kn"
         }
       }
     },
-- 
2.14.3