diff options
author | iximeow <me@iximeow.net> | 2022-01-01 02:22:43 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2022-01-01 02:22:43 -0800 |
commit | 3b834ed7b77cadb09e2f37fd6234f24925b875b8 (patch) | |
tree | 038808bb976ad5102f3cbe93ad10597c615cf9d7 /test/test.rs | |
parent | eb867d51ed8ad3b45d710f4ae3eb2fbb52605cb6 (diff) |
more inconvenient test case handling
Diffstat (limited to 'test/test.rs')
-rw-r--r-- | test/test.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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 = <yaxpeax_arm::armv8::a64::ARMv8 as Arch>::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); } } } |