[libcxx-commits] [libcxx] 4424d24 - [libcxx] Fix the thousands_sep test failure
Petr Hosek via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 8 09:15:00 PDT 2020
Author: Petr Hosek
Date: 2020-10-08T09:14:52-07:00
New Revision: 4424d2428aebd3537d3f5a3625acb65edfb5d11f
URL: https://github.com/llvm/llvm-project/commit/4424d2428aebd3537d3f5a3625acb65edfb5d11f
DIFF: https://github.com/llvm/llvm-project/commit/4424d2428aebd3537d3f5a3625acb65edfb5d11f.diff
LOG: [libcxx] Fix the thousands_sep test failure
This fixes the issue introduced in 80ef4126b.
Added:
Modified:
libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp b/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
index aa60055a96c2..0a06657d0c65 100644
--- a/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
@@ -127,9 +127,7 @@ int main(int, char**)
const wchar_t wsep = glibc_version_less_than("2.27") ? L'\u00A0' : L'\u202F';
#else
const char sep = ' ';
- // FIXME libc++ specifically works around \u00A0 by translating it into
- // a regular space.
- const wchar_t wsep = L'\u00A0';
+ const wchar_t wsep = L' ';
#endif
{
Fnf f(LOCALE_ru_RU_UTF_8, 1);
More information about the libcxx-commits
mailing list