summaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-05 23:44:20 -0800
committeriximeow <me@iximeow.net>2020-02-05 23:49:02 -0800
commita5b6a2bb16e47686b260f6c91f0eed06538e586b (patch)
tree848c767e1288de5462a69d19e5821a245b4691ab /test/test.rs
parentf2f4dcd0f1494f21537b84370c7f630720e4494a (diff)
bump yaxpeax-arch version and fix warnings0.0.2
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.rs b/test/test.rs
index 45ec234..431a349 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -1,9 +1,10 @@
extern crate yaxpeax_arch;
extern crate yaxpeax_mips;
-use yaxpeax_arch::{Arch, Decoder, LengthedInstruction};
-use yaxpeax_mips::{MIPS, Instruction, Opcode};
+use yaxpeax_arch::{Arch, Decoder};
+use yaxpeax_mips::{MIPS, Instruction}; //, Opcode};
+#[allow(dead_code)]
fn test_decode(data: [u8; 4], expected: Instruction) {
let instr = <MIPS as Arch>::Decoder::default().decode(data.to_vec()).unwrap();
assert!(