This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Fix the thousands_sep expectation for fr_FR locales on Windows
ClosedPublic

Authored by mstorsjo on Feb 17 2022, 2:19 PM.

Details

Summary

Windows uses \u00A0 (No-Break Space) as thousands separator in the
fr_FR locale.

Diff Detail

Event Timeline

mstorsjo created this revision.Feb 17 2022, 2:19 PM
mstorsjo requested review of this revision.Feb 17 2022, 2:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2022, 2:19 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision as: Mordante.Feb 21 2022, 10:57 AM

LGTM, the CI error seems unrelated.

Quuxplusone accepted this revision.Feb 21 2022, 11:13 AM

LGTM%comment!

libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
54–59

The original commenter seems to have mixed up U+202F NARROW NO-BREAK SPACE with U+2027 HYPHENATION POINT. I don't imagine that any platform would use U+2027 HYPHENATION POINT as its thousands separator.

libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
54–59

Same deal with this comment, please.

libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
140

Pre-existing: I find it unlikely that we have to "work around" the use of U+002E FULL STOP as a decimal point character. ;) That's... normal. :)

This revision is now accepted and ready to land.Feb 21 2022, 11:13 AM
This revision was landed with ongoing or failed builds.Feb 21 2022, 1:09 PM
This revision was automatically updated to reflect the committed changes.