Fix test case that I missed before.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
e002011602
commit
41ca00df8d
@@ -742,7 +742,7 @@ mod tests {
|
|||||||
assert!(x != y);
|
assert!(x != y);
|
||||||
y = Opcode::Iadd;
|
y = Opcode::Iadd;
|
||||||
assert_eq!(x, y);
|
assert_eq!(x, y);
|
||||||
assert_eq!(x.format(), Some(InstructionFormat::Binary));
|
assert_eq!(x.format(), InstructionFormat::Binary);
|
||||||
|
|
||||||
assert_eq!(format!("{:?}", Opcode::IaddImm), "IaddImm");
|
assert_eq!(format!("{:?}", Opcode::IaddImm), "IaddImm");
|
||||||
assert_eq!(Opcode::IaddImm.to_string(), "iadd_imm");
|
assert_eq!(Opcode::IaddImm.to_string(), "iadd_imm");
|
||||||
|
|||||||
Reference in New Issue
Block a user