From 3b834ed7b77cadb09e2f37fd6234f24925b875b8 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 1 Jan 2022 02:22:43 -0800 Subject: more inconvenient test case handling --- test/test.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/test.rs') diff --git a/test/test.rs b/test/test.rs index 81080cf..eb9050e 100644 --- a/test/test.rs +++ b/test/test.rs @@ -8,8 +8,7 @@ extern crate yaxpeax_arm; mod armv7; mod armv8; -use yaxpeax_arch::{Arch, Decoder, Reader, U8Reader}; -use std::fmt; +use yaxpeax_arch::{Arch, Decoder, U8Reader}; #[test] fn test_armv7_does_not_panic() { @@ -38,7 +37,6 @@ fn test_armv7_thumb_does_not_panic() { } } } -#[ignore] #[test] fn test_armv8_does_not_panic() { let armv8 = ::Decoder::default(); @@ -48,6 +46,7 @@ fn test_armv8_does_not_panic() { let res = armv8.decode(&mut U8Reader::new(&bytes)); if let Ok(instr) = res { let s = instr.to_string(); + drop(s); } } } -- cgit v1.1