Skip to content

Commit

Permalink
tests/node-traversal.rs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
niklak committed Jan 15, 2025
1 parent eb3a8b0 commit bacbdf4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/node-traversal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,9 @@ fn test_node_find() {
.collect();

assert_eq!(got_ids, expected_ids);

let len_fin_ne = root.find(&["body", "td", "p"]).len();
assert_eq!(len_fin_ne, 0);
let len_sel_ne = doc.select("body td p").length();
assert_eq!(len_sel_ne, 0)
}

0 comments on commit bacbdf4

Please sign in to comment.