summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-15 06:01:00 -0400
committerMason Reed <mason@vector35.com>2025-07-15 12:34:43 -0400
commit9c80b724bc28eca0b1b4fad1b955d4fd2ba48ab5 (patch)
treea25a2bb5223d6a91f0091bfcca0a7b00ebd327bc /rust/src
parent41213e0c959b4b11e3059b60ec5248b31024d236 (diff)
[Rust] Update some tests
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/binary_view/search.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binary_view/search.rs b/rust/src/binary_view/search.rs
index cd86603a..ef7216d2 100644
--- a/rust/src/binary_view/search.rs
+++ b/rust/src/binary_view/search.rs
@@ -98,7 +98,7 @@ mod tests {
fn test_search_query_json() {
let query = SearchQuery::new("test").start(0x1000).align(8);
- let json = query.to_json().unwrap();
+ let json = query.to_json();
let parsed: serde_json::Value = serde_json::from_str(&json).unwrap();
assert_eq!(parsed["pattern"], "test");