Fix test case that I missed before.

This commit is contained in:
Angus Holder
2017-02-22 17:07:07 +00:00
committed by Jakob Stoklund Olesen
parent e002011602
commit 41ca00df8d

View File

@@ -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");