aboutsummaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2021-12-31 02:18:09 -0800
committeriximeow <me@iximeow.net>2021-12-31 02:18:09 -0800
commit7dd687d42293b75685fadda21ffafad1925a52de (patch)
tree85c36cae0696df5b3fe3e694e3e6b816e913474b /test/test.rs
parentf5c7eac387bd61881299b643b51e0c6817054d66 (diff)
pac, cfi, other misc cleanup, notes and todos
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.rs b/test/test.rs
index fb74520..81080cf 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -20,6 +20,7 @@ fn test_armv7_does_not_panic() {
let res = armv7.decode(&mut U8Reader::new(&bytes));
if let Ok(instr) = res {
let s = instr.to_string();
+ drop(s);
}
}
}
@@ -33,6 +34,7 @@ fn test_armv7_thumb_does_not_panic() {
let res = armv7_t.decode(&mut U8Reader::new(&bytes));
if let Ok(instr) = res {
let s = instr.to_string();
+ drop(s);
}
}
}