Convert tree-sitter output to syntax nodes in smoke test

ida_star
Wilfred Hughes 2021-09-05 01:01:45 +07:00
parent 2aad08a179
commit 69981c96cc
1 changed files with 2 additions and 1 deletions

@ -269,7 +269,8 @@ mod tests {
/// <https://github.com/mozilla/grcov/issues/617>
#[test]
fn test_parse() {
let arena = Arena::new();
let css_config = from_extension(OsStr::new("css")).unwrap();
parse_to_tree(".foo {}", &css_config);
parse(&arena, ".foo {}", &css_config);
}
}