summaryrefslogtreecommitdiff
path: root/stdlib/tst-strfmon_l.c
diff options
context:
space:
mode:
authorMike FABIAN <mfabian@redhat.com>2017-08-10 12:16:29 +0200
committerMike FABIAN <mfabian@redhat.com>2017-08-10 13:13:22 +0200
commitbd80111ed9cb93b2d56720dcd1d1f259616c27ae (patch)
treee95280c9e10dc4575f15b37048786b09af6de6a6 /stdlib/tst-strfmon_l.c
parent4169825556bcc23ced731e711be91819465d4a83 (diff)
Fix stdlib/tst-strfmon_l.c test case to agree with the changes in Indian monetary formatting
The test cases should expose non-standard grouping and the trailing space after the currency sign. After the changes to the Indian monetary formatting, the Indian formatting still shows the non-standard grouping. To test the trailing space after the currency sign I chose the hr_HR locale. See: commit 82b3124268bec0609b337dd993e771c93e44cbf2 Author: Akhilesh Kumar <akhilesh.k@samsung.com> Remove redundant data for LC_MONETARY for Indian locales
Diffstat (limited to 'stdlib/tst-strfmon_l.c')
-rw-r--r--stdlib/tst-strfmon_l.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/stdlib/tst-strfmon_l.c b/stdlib/tst-strfmon_l.c
index 49fa31907e..ed7d486960 100644
--- a/stdlib/tst-strfmon_l.c
+++ b/stdlib/tst-strfmon_l.c
@@ -160,28 +160,28 @@ static const struct locale_pair tests[] =
}
},
{
- "te_IN.UTF-8",
+ "hr_HR.UTF-8",
{
{
- "INR12,34,567.89", "\u20b912,34,567.89",
- "INR1234567.89", "\u20b91234567.89"
+ "HRK 1 234 567,89", "Kn 1 234 567,89",
+ "HRK 1234567,89", "Kn 1234567,89"
},
{
- "-INR12,34,567.89", "-\u20b912,34,567.89",
- "-INR1234567.89", "-\u20b91234567.89"
+ "-HRK 1 234 567,89", "-Kn 1 234 567,89",
+ "-HRK 1234567,89", "-Kn 1234567,89"
}
}
},
{
- "bn_IN.UTF-8",
+ "hi_IN.UTF-8",
{
{
- "INR 12,345,67.89", "\u20b9 12,345,67.89",
- "INR 1234567.89", "\u20b9 1234567.89"
+ "INR12,34,567.89", "\u20b912,34,567.89",
+ "INR1234567.89", "\u20b91234567.89"
},
{
- "-INR 12,345,67.89", "-\u20b9 12,345,67.89",
- "-INR 1234567.89", "-\u20b9 1234567.89"
+ "-INR12,34,567.89", "-\u20b912,34,567.89",
+ "-INR1234567.89", "-\u20b91234567.89"
}
}
},