summaryrefslogtreecommitdiff
path: root/rust/src/binary_view/search.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/binary_view/search.rs')
-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");