[Lldb-commits] [lldb] 40afc69 - [lldb/test] Fix StructuredDataTest::GetDescriptionEmpty warning (NFC)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 4 22:06:31 PDT 2022
Author: Med Ismail Bennani
Date: 2022-11-04T22:05:58-07:00
New Revision: 40afc69e6dc0cc39e9e090ed96df95d6334db17c
URL: https://github.com/llvm/llvm-project/commit/40afc69e6dc0cc39e9e090ed96df95d6334db17c
DIFF: https://github.com/llvm/llvm-project/commit/40afc69e6dc0cc39e9e090ed96df95d6334db17c.diff
LOG: [lldb/test] Fix StructuredDataTest::GetDescriptionEmpty warning (NFC)
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Added:
Modified:
lldb/unittests/Utility/StructuredDataTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Utility/StructuredDataTest.cpp b/lldb/unittests/Utility/StructuredDataTest.cpp
index e732016fe43db..e536039f365a4 100644
--- a/lldb/unittests/Utility/StructuredDataTest.cpp
+++ b/lldb/unittests/Utility/StructuredDataTest.cpp
@@ -38,7 +38,7 @@ TEST(StructuredDataTest, GetDescriptionEmpty) {
StreamString S;
object_sp->GetDescription(S);
- EXPECT_EQ(0, S.GetSize());
+ EXPECT_EQ(0u, S.GetSize());
}
TEST(StructuredDataTest, GetDescriptionBasic) {
More information about the lldb-commits
mailing list