Skip to content

Commit

Permalink
rustfmt fail fix
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinstochita committed Nov 22, 2023
1 parent 3c4ac03 commit c22e169
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ mod tests {
}

#[test]
fn regex_filter_test(){
fn regex_filter_test() {
let json: Box<Value> = Box::new(json!({
"author":"abcd(Rees)",
}));
Expand All @@ -1238,7 +1238,10 @@ mod tests {
.expect("the path is correct"),
);
let finder = JsonPathFinder::new(json.clone(), path);
assert_eq!(finder.find_slice(),vec![Slice(&json!({"author":"abcd(Rees)"}),"$".to_string())]);
assert_eq!(
finder.find_slice(),
vec![Slice(&json!({"author":"abcd(Rees)"}), "$".to_string())]
);
}

// #[test]
Expand Down

0 comments on commit c22e169

Please sign in to comment.