summaryrefslogtreecommitdiff
path: root/rust/tests
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-17 23:45:14 -0400
committerMason Reed <mason@vector35.com>2025-07-02 01:56:53 -0400
commit439cb137eebbd66b71fbc9cc5d7ab950fb6138c1 (patch)
tree2ab0f08fe680b8fc909c622f78c85218564553ae /rust/tests
parent2792c181cc97585ebe793b1385e24654179bdc64 (diff)
[Rust] Format code
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/binary_view.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/tests/binary_view.rs b/rust/tests/binary_view.rs
index a0475cd3..db094247 100644
--- a/rust/tests/binary_view.rs
+++ b/rust/tests/binary_view.rs
@@ -39,7 +39,10 @@ fn test_binary_saving() {
assert!(view.save_to_path(&temp_path));
// Verify that the file exists and is modified.
let new_view = binaryninja::load(temp_path).expect("Failed to load new view");
- assert_eq!(new_view.read_vec(contents_addr, 4), [0xff, 0xff, 0xff, 0xff]);
+ assert_eq!(
+ new_view.read_vec(contents_addr, 4),
+ [0xff, 0xff, 0xff, 0xff]
+ );
}
#[test]