[libcxx-commits] [PATCH] D105568: [libc++] Guard testing implementation details.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 8 08:35:06 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4947ecf4e994: [libc++] Guard testing implementation details. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105568/new/
https://reviews.llvm.org/D105568
Files:
libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
Index: libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
===================================================================
--- libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
+++ libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/next_arg_id.pass.cpp
@@ -39,8 +39,8 @@
context.next_arg_id();
assert(false);
} catch (const std::format_error& e) {
- assert(strcmp(e.what(), "Using automatic argument numbering in manual "
- "argument numbering mode") == 0);
+ LIBCPP_ASSERT(strcmp(e.what(), "Using automatic argument numbering in manual "
+ "argument numbering mode") == 0);
return;
}
assert(false);
Index: libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
===================================================================
--- libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
+++ libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/check_arg_id.pass.cpp
@@ -39,8 +39,8 @@
context.check_arg_id(0);
assert(false);
} catch (const std::format_error& e) {
- assert(strcmp(e.what(), "Using manual argument numbering in automatic "
- "argument numbering mode") == 0);
+ LIBCPP_ASSERT(strcmp(e.what(), "Using manual argument numbering in automatic "
+ "argument numbering mode") == 0);
return;
}
assert(false);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105568.357234.patch
Type: text/x-patch
Size: 1595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210708/a057988b/attachment.bin>
More information about the libcxx-commits
mailing list