From a2e1a62db5ee4219cce7bbf31cf0023018bed4f1 Mon Sep 17 00:00:00 2001 From: Grant Lemons Date: Wed, 4 Dec 2024 11:39:09 -0700 Subject: [PATCH] fix(#230): remove debug print of typst ast in test --- harper-core/src/parsers/typst.rs | 7 ------- 1 file changed, 7 deletions(-) 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!(