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) {
1868
1868
EXPECT_EQ (Ret->getOpcode (), sandboxir::Instruction::Opcode::Ret);
1869
1869
1870
1870
// 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" );
1874
1874
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" );
1878
1878
1879
1879
// Check moveBefore(I).
1880
1880
I1->moveBefore (I0);
You can’t perform that action at this time.
0 commit comments