[libc-commits] [PATCH] D100631: [libc] Extends the testing framework to support typed test

Guillaume Chatelet via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 16 02:45:59 PDT 2021


gchatelet updated this revision to Diff 338040.
gchatelet added a comment.

- Fix typo and static assert message.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100631

Files:
  libc/utils/UnitTest/LibcTest.h


Index: libc/utils/UnitTest/LibcTest.h
===================================================================
--- libc/utils/UnitTest/LibcTest.h
+++ libc/utils/UnitTest/LibcTest.h
@@ -221,9 +221,9 @@
   }
 
 #define TYPED_TEST(SuiteName, TestName, TypeList)                              \
-  static_assert(__llvm_libc::testing::internal::valid_prefix(#SuiteName),      \
-                "All LLVM-libc TYPED_TEST suite class names must start with "  \
-                "'LlvmLibc'.");                                                \
+  static_assert(                                                               \
+      __llvm_libc::testing::internal::valid_prefix(#SuiteName),                \
+      "All LLVM-libc TYPED_TEST suite names must start with 'LlvmLibc'.");     \
   template <typename T>                                                        \
   class SuiteName##_##TestName : public __llvm_libc::testing::Test {           \
   public:                                                                      \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100631.338040.patch
Type: text/x-patch
Size: 1023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210416/48b20500/attachment.bin>


More information about the libc-commits mailing list