[libcxx-commits] [PATCH] D120317: [libcxx] [test] Fix get/put long_double_ru_RU on Glibc, FreeBSD and Windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 22 04:04:25 PST 2022
mstorsjo created this revision.
mstorsjo added reviewers: ldionne, Quuxplusone, Mordante.
Herald added a subscriber: krytarowski.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.
Note, reducing ios.width() in put_long_double instead of using variable
padding, when using a variable width symbol. Some of those tests didn't
actually trigger any padding in the existing form, with a longer
currency symbol; reduce the width so there's no actual padding with the
slightly shorter currency symbol either.
The tests for the international currency symbol use the same amount of
padding on all platforms, so they still exercise the padding properly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120317
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: D120317.410502.patch
Type: text/x-patch
Size: 24564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220222/c559a6cc/attachment-0001.bin>
More information about the libcxx-commits
mailing list