diff --git a/harper-core/src/parsers/typst.rs b/harper-core/src/parsers/typst.rs index df10640a..36d4d9a1 100644 --- a/harper-core/src/parsers/typst.rs +++ b/harper-core/src/parsers/typst.rs @@ -473,13 +473,6 @@ mod tests { let token_kinds = tokens.iter().map(|t| t.kind).collect::>(); dbg!(&token_kinds); - let typst_document = typst_syntax::Source::detached(source); - let typst_tree = ::from_untyped( - typst_document.root(), - ) - .expect("Unable to create typst document from parsed tree!"); - dbg!(typst_tree.exprs().collect_vec()); - let charslice = source.chars().collect_vec(); assert_eq!(tokens[3].span.get_content_string(&charslice), "Typst"); assert!(matches!(