[llvm] [NFC][ADT] Introduce a test harness for StringRefTest (PR #105500)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 04:25:41 PDT 2024
================
@@ -47,37 +34,39 @@ static_assert(std::is_assignable_v<StringRef &, const char *&&>,
static_assert(std::is_assignable_v<StringRef &, const char *&>,
"Assigning from lvalue C string");
-namespace {
-TEST(StringRefTest, Construction) {
+// Test fixture.
+class StringRefTest : public testing::Test {};
----------------
s-barannikov wrote:
Why do you need it with no methods?
https://github.com/llvm/llvm-project/pull/105500
More information about the llvm-commits
mailing list