[libcxx-commits] [PATCH] D120798: [libcxx] [test] Fix en_US money locale formatting tests on Windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 2 01:23:32 PST 2022
mstorsjo created this revision.
mstorsjo added reviewers: Mordante, Quuxplusone.
Herald added a project: All.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.
In the en_US locale on Windows, negative currency amounts is formatted
as "($0.01)" instead of "-$0.01".
Adjust the test references accordingly, making these tests pass.
This is more of the same as in D120549 <https://reviews.llvm.org/D120549>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120798
Files:
libcxx/test/std/input.output/iostream.format/ext.manip/get_money.pass.cpp
libcxx/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_en_US.pass.cpp
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_string_en_US.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120798.412349.patch
Type: text/x-patch
Size: 29409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220302/d02538c8/attachment-0001.bin>
More information about the libcxx-commits
mailing list