diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-15 03:56:09 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-15 03:56:09 +0000 |
commit | 0447c1fe383bb33854912efc6995e9ce4de396e0 (patch) | |
tree | 59b0566d39f8ae63d30d5a4c5502b8d9007b278a /lib/libc/tests/stdio/printfloat_test.c | |
parent | 7070dc92bdbf3f997f1ddaee2d70649da884b24f (diff) | |
download | FreeBSD-src-0447c1fe383bb33854912efc6995e9ce4de396e0.zip FreeBSD-src-0447c1fe383bb33854912efc6995e9ce4de396e0.tar.gz |
Fix the Indian numbering system (hi_IN.ISCII-DEV) tests
Submitted by: ache
X-MFC with: r290494 (if that ever happens)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/tests/stdio/printfloat_test.c')
-rw-r--r-- | lib/libc/tests/stdio/printfloat_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/tests/stdio/printfloat_test.c b/lib/libc/tests/stdio/printfloat_test.c index a588c6b..6b4e455 100644 --- a/lib/libc/tests/stdio/printfloat_test.c +++ b/lib/libc/tests/stdio/printfloat_test.c @@ -178,10 +178,10 @@ ATF_TC_BODY(thousands_separator_and_other_locale_tests, tc) testfmt("0012345678.0625", "%'015.4F", 12345678.0625); ATF_REQUIRE(setlocale(LC_NUMERIC, "hi_IN.ISCII-DEV")); /* grouping == 2;3 */ - testfmt("123,456,78.0625", "%'.4f", 12345678.0625); - testfmt("00123,456,78.0625", "%'017.4F", 12345678.0625); - testfmt(" 90,00", "%'6.0f", 9000.0); - testfmt("90,00.0", "%'.1f", 9000.0); + testfmt("1,23,45,678.0625", "%'.4f", 12345678.0625); + testfmt("01,23,45,678.0625", "%'017.4F", 12345678.0625); + testfmt(" 9,000", "%'6.0f", 9000.0); + testfmt("9,000.0", "%'.1f", 9000.0); ATF_REQUIRE(setlocale(LC_NUMERIC, "ru_RU.ISO8859-5")); /* decimalpoint==, */ testfmt("3,1415", "%g", 3.1415); |