[llvm] [NFC][ADT] Format StringRefTest.cpp to fit in 80 columns. (PR #105502)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 06:51:24 PDT 2024
================
@@ -1117,7 +1118,8 @@ TEST(StringRefTest, StringLiteral) {
constexpr StringRef StringRefs[] = {"Foo", "Bar"};
EXPECT_EQ(StringRef("Foo"), StringRefs[0]);
EXPECT_EQ(3u, (std::integral_constant<size_t, StringRefs[0].size()>::value));
- EXPECT_EQ(false, (std::integral_constant<bool, StringRefs[0].empty()>::value));
+ EXPECT_EQ(false,
+ (std::integral_constant<bool, StringRefs[0].empty()>::value));
----------------
kuhar wrote:
```suggestion
EXPECT_FALSE(std::integral_constant<bool, StringRefs[0].empty()>::value);
```
https://github.com/llvm/llvm-project/pull/105502
More information about the llvm-commits
mailing list