[libcxx-commits] [PATCH] D118240: [libcxx] [test] Fix the locale.time.put.byname/put1 testcase on Linux and Windows
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 26 09:41:03 PST 2022
ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp:72-79
const my_facet f(LOCALE_fr_FR_UTF_8, 1);
std::string pat("Today is %A which is abbreviated %a.");
iter = f.put(output_iterator<char*>(str), ios, '*', &t,
pat.data(), pat.data() + pat.size());
std::string ex(str, iter.base());
assert((ex == "Today is Samedi which is abbreviated Sam.")||
+ (ex == "Today is samedi which is abbreviated sam." )||
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118240/new/
https://reviews.llvm.org/D118240
More information about the libcxx-commits
mailing list