Skip to content

Commit

Permalink
fix: remove useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltontj committed Jan 31, 2024
1 parent 39b1a6a commit 0fe9baa
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions serde_json_path/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,4 @@ mod tests {
.expect("round trip");
assert_eq!(p1, p2);
}

#[test]
fn norm_paths() {
let j = json!({"foo": {
"bar": [1, 2, 3]
}});
let p = JsonPath::parse("$.foo.bar.*").unwrap();
let r = p.query_located(&j);
for ln in r {
println!("{pointer}", pointer = ln.location().as_json_pointer());
}
}
}

0 comments on commit 0fe9baa

Please sign in to comment.