[libcxx] [test] Fix get_string_en_US, get_long_double_en_US for Windows
authorMartin Storsjö <martin@martin.st>
Tue, 25 Jan 2022 11:19:18 +0000 (11:19 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 4 Mar 2022 08:18:07 +0000 (10:18 +0200)
commitb2d93400a96cfe88d0f027e717d51a4f6450a163
treeab892520e611d383188e6d8792a127672970ddb7
parentd32f46b0766dbbe3dc2304d53d7ed1efa1b29fc0
[libcxx] [test] Fix get_string_en_US, get_long_double_en_US for Windows

In the en_US locale on Windows, negative currency amounts is formatted
as "($0.01)" instead of "-$0.01".

Differential Revision: https://reviews.llvm.org/D120799
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_en_US.pass.cpp
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_string_en_US.pass.cpp
libcxx/test/support/locale_helpers.h