Skip to content

Commit 8c37caf

Browse files
authored
Use expect instead of assert macros
1 parent 91d1f4c commit 8c37caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/CodeGen/MachineOperandTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ TEST(MachineOperandTest, RegisterLiveOutHashValue) {
429429
uint32_t Mask2 = 0;
430430
MachineOperand MO1 = MachineOperand::CreateRegLiveOut(&Mask1);
431431
MachineOperand MO2 = MachineOperand::CreateRegLiveOut(&Mask2);
432-
ASSERT_EQ(hash_value(MO1), hash_value(MO2));
433-
ASSERT_TRUE(MO1.isIdenticalTo(MO2));
432+
EXPECT_EQ(hash_value(MO1), hash_value(MO2));
433+
EXPECT_TRUE(MO1.isIdenticalTo(MO2));
434434
}
435435

436436
} // end namespace

0 commit comments

Comments
 (0)