diff options
| author | Mason Reed <mason@vector35.com> | 2026-02-22 17:08:21 -0800 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-02-23 00:09:44 -0800 |
| commit | b18bdad6c94a8e234108d531f0c480c7104abebe (patch) | |
| tree | b0edb86cfae52c37635ef0b5cac491220bc3ef24 /rust/tests/function.rs | |
| parent | dbd54d67a6d523f64615f653d82d8224cd09870a (diff) | |
[Rust] Misc documentation and cleanup
Diffstat (limited to 'rust/tests/function.rs')
| -rw-r--r-- | rust/tests/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/tests/function.rs b/rust/tests/function.rs index ac15fd91..507b405d 100644 --- a/rust/tests/function.rs +++ b/rust/tests/function.rs @@ -116,7 +116,7 @@ fn add_function() { // Make sure you cannot add a function without a default platform. let code = &[0xa1, 0xfa, 0xf8, 0xf0, 0x99, 0x83, 0xc0, 0x37, 0xc3]; - let view = BinaryView::from_data(&FileMetadata::new(), code).expect("Failed to create view"); + let view = BinaryView::from_data(&FileMetadata::new(), code); assert!(view.add_user_function(0).is_none()); assert!(view.add_auto_function(0).is_none()); |
