[libcxx-commits] [PATCH] D120547: [libcxx] [test] Fix the monetary locale curr_symbol test on Windows

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 25 14:21:43 PST 2022


mstorsjo updated this revision to Diff 411525.
mstorsjo added a comment.
Herald added a subscriber: krytarowski.

Adjusted the test so that it passes on Windows, current macOS and FreeBSD (to avoid leaving any unused `#else` clause that isn't used by any target at all).

Also made the escape sequences consistent; use `\u0000` form for all wchar strings, and `\x00` form for all UTF-8 strings (with comments explaining what unicode chars it corresponds to).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120547/new/

https://reviews.llvm.org/D120547

Files:
  libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120547.411525.patch
Type: text/x-patch
Size: 4211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220225/b4cc6414/attachment.bin>


More information about the libcxx-commits mailing list