aboutsummaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
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);
}
}
}