[all-commits] [llvm/llvm-project] 142501: [libcxx] [test] Fix en_US money locale formatting ...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Wed Mar 2 13:25:04 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 142501117a78080d2615074d3986fa42aa6a0734
https://github.com/llvm/llvm-project/commit/142501117a78080d2615074d3986fa42aa6a0734
Author: Martin Storsjö <martin at martin.st>
Date: 2022-03-02 (Wed, 02 Mar 2022)
Changed paths:
M libcxx/test/std/input.output/iostream.format/ext.manip/get_money.pass.cpp
M libcxx/test/std/input.output/iostream.format/ext.manip/put_money.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_en_US.pass.cpp
M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_string_en_US.pass.cpp
Log Message:
-----------
[libcxx] [test] Fix en_US money locale formatting tests on Windows
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.
Differential Revision: https://reviews.llvm.org/D120798
More information about the All-commits
mailing list