From 063adf8c100cedbc2633710283115ad3f27ab289 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 24 Oct 2021 14:37:06 -0700 Subject: normalize a bit more consistently in instruction display --- test/armv8/a64.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/armv8') diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index c251d4a..dde9802 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -2,6 +2,8 @@ use yaxpeax_arch::{Arch, Decoder, LengthedInstruction}; use yaxpeax_arm::armv8::a64::{ARMv8, Instruction, Operand, Opcode, SizeCode, ShiftStyle}; use yaxpeax_arm::armv8::a64::DecodeError; +use std::fmt; + fn test_decode(data: [u8; 4], expected: Instruction) { let mut reader = yaxpeax_arch::U8Reader::new(&data[..]); let instr = ::Decoder::default().decode(&mut reader).unwrap(); -- cgit v1.1