()
| 204 | |
| 205 | #[test] |
| 206 | fn 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 | } |
nothing calls this directly
no test coverage detected