summaryrefslogtreecommitdiff
path: root/plugins/warp/tests
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-08-26 23:59:38 -0400
committerMason Reed <mason@vector35.com>2025-10-01 21:38:39 -0400
commitede39aee7e00c40a43b67ca18dd8ab80ee863d85 (patch)
tree67c5eda347ece2282e3c888f38066b496e06dec8 /plugins/warp/tests
parenta1c46813e7f279aa4cfdb9dbb91c45b559ebeacd (diff)
[WARP] Enhanced network support
Diffstat (limited to 'plugins/warp/tests')
-rw-r--r--plugins/warp/tests/determinism.rs4
-rw-r--r--plugins/warp/tests/matcher.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/warp/tests/determinism.rs b/plugins/warp/tests/determinism.rs
index e0568794..5100b436 100644
--- a/plugins/warp/tests/determinism.rs
+++ b/plugins/warp/tests/determinism.rs
@@ -32,8 +32,8 @@ fn insta_signatures() {
.functions()
.iter()
.map(|f| {
- let guid = cached_function_guid(&f, &f.lifted_il().unwrap());
- (f.start(), guid)
+ let guid = cached_function_guid(&f, || f.lifted_il().ok());
+ (f.start(), guid.unwrap())
})
.collect();
insta::assert_debug_snapshot!(file_name, functions);
diff --git a/plugins/warp/tests/matcher.rs b/plugins/warp/tests/matcher.rs
index 13e2ce01..880112d0 100644
--- a/plugins/warp/tests/matcher.rs
+++ b/plugins/warp/tests/matcher.rs
@@ -169,7 +169,7 @@ fn test_add_type_to_view() {
.guid(struct_type_guid)
.build();
let ref_type = Type::builder().name("my_ref").class(ref_class).build();
- matcher.add_type_to_view(&container, &source, &view, &arch, &ref_type);
+ matcher.add_type_to_view(&container, &source, &view, arch, &ref_type);
println!("{:#?}", view.types().to_vec());