mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-06-23 12:51:39 +00:00
fix wasm benches
This commit is contained in:
@ -57,7 +57,10 @@ fn _selector(b: &mut Bencher, index: usize) {
|
||||
let mut selector = jsonpath::Selector::new();
|
||||
let _ = selector.path(get_path(index));
|
||||
selector.value(&json);
|
||||
let _ = selector.select();
|
||||
let r = selector.select();
|
||||
if r.is_err() {
|
||||
panic!()
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user