MCPcopy Create free account
hub / github.com/csskit/csskit / test_find_visitable_nodes

Function test_find_visitable_nodes

crates/csskit_source_finder/src/lib.rs:206–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204
205#[test]
206fn test_find_visitable_nodes() {
207 use itertools::Itertools;
208 use quote::ToTokens;
209 let mut matches = HashSet::new();
210 find_visitable_nodes("../css_ast/src/**/*.rs", &mut matches, |_| {});
211 ::insta::assert_ron_snapshot!(
212 "all_visitable_nodes",
213 matches.iter().map(|node| node.input.to_token_stream().to_string()).sorted().collect::<Vec<_>>()
214 );
215}

Callers

nothing calls this directly

Calls 1

find_visitable_nodesFunction · 0.85

Tested by

no test coverage detected