[libcxx-commits] [PATCH] D120316: [libcxx] [test] Fix the get/put long_double_ru_RU tests on Apple platforms

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 22 04:02:07 PST 2022


mstorsjo created this revision.
mstorsjo added reviewers: ldionne, Quuxplusone, Mordante.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.

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).

The previously commented out code never seemed to be passing in any
current configuration; the whole tests were XFAILed on all other
platforms than Apple platforms, and on Apple platforms, some parts
of the tests (where the trailing space made a difference) were
ifdeffed out.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120316

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120316.410500.patch
Type: text/x-patch
Size: 20452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220222/92e5f8df/attachment-0001.bin>


More information about the libcxx-commits mailing list