File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1868,13 +1868,13 @@ define void @foo(i8 %v1, ptr %ptr) {
18681868 EXPECT_EQ (Ret->getOpcode (), sandboxir::Instruction::Opcode::Ret);
18691869
18701870 // Check getOpcodeName().
1871- EXPECT_EQ (I0->getOpcodeName (), " Add" );
1872- EXPECT_EQ (I1->getOpcodeName (), " Sub" );
1873- EXPECT_EQ (Ret->getOpcodeName (), " Ret" );
1871+ EXPECT_STREQ (I0->getOpcodeName (), " Add" );
1872+ EXPECT_STREQ (I1->getOpcodeName (), " Sub" );
1873+ EXPECT_STREQ (Ret->getOpcodeName (), " Ret" );
18741874
1875- EXPECT_EQ (sandboxir::Instruction::getOpcodeName (
1876- sandboxir::Instruction::Opcode::Alloca),
1877- " Alloca" );
1875+ EXPECT_STREQ (sandboxir::Instruction::getOpcodeName (
1876+ sandboxir::Instruction::Opcode::Alloca),
1877+ " Alloca" );
18781878
18791879 // Check moveBefore(I).
18801880 I1->moveBefore (I0);
You can’t perform that action at this time.
0 commit comments