Skip to content

Commit 72212a1

Browse files
authored
Update HostTest.cpp
Correct typo
1 parent 686e786 commit 72212a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/unittests/Host/posix/HostTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ TEST_F(HostTest, GetProcessInfoSetsPriority) {
117117
ASSERT_FALSE(Info.IsZombie().value());
118118

119119
const llvm::VersionTuple host_version = HostInfo::GetOSVersion();
120-
ASSERT_TRUE(host_version);
120+
ASSERT_FALSE(host_version.empty());
121121
if (host_version >= llvm::VersionTuple(4, 15, 0)) {
122122
ASSERT_TRUE(Info.IsCoreDumping().has_value());
123123
ASSERT_FALSE(Info.IsCoreDumping().value());

0 commit comments

Comments
 (0)