[libcxx] [test] Fix the get/put long_double_ru_RU tests on Apple platforms
authorMartin Storsjö <martin@martin.st>
Tue, 22 Feb 2022 10:28:08 +0000 (12:28 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 24 Feb 2022 08:21:36 +0000 (10:21 +0200)
commit5333732fce96a376ada2941c11e5cf01de5caa63
tree272c6a0bd37d663a7671e06bdf7e9fca9db63a2c
parent7fd60ee6e0a87957a718297a4a42d9881fc561e3
[libcxx] [test] Fix the get/put long_double_ru_RU tests on Apple platforms

This fixes issue #45084 (https://llvm.org/PR45739).

Remove unnecessary trailing spaces after the "RUB" international
currency symbol (and after the plain number in some parts of the
put_long_double test).

Both of these test files are
`XFAIL: netbsd || linux || LIBCXX-WINDOWS-FIXME`, and then have some of
their test cases commented out when `__APPLE__`. This patch comments-in
those test cases and adjusts them all to work on Apple, while leaving the
test `XFAIL`ed on NetBSD, Linux, and Windows.

Differential Revision: https://reviews.llvm.org/D120316
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_ru_RU.pass.cpp