diff options
Diffstat (limited to 'support/texlab/crates/parser/src/latex.rs')
-rw-r--r-- | support/texlab/crates/parser/src/latex.rs | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/support/texlab/crates/parser/src/latex.rs b/support/texlab/crates/parser/src/latex.rs index f96d41a722..d88eb39556 100644 --- a/support/texlab/crates/parser/src/latex.rs +++ b/support/texlab/crates/parser/src/latex.rs @@ -1201,19 +1201,4 @@ pub fn parse_latex(text: &str, config: &SyntaxConfig) -> GreenNode { } #[cfg(test)] -mod tests { - use syntax::latex; - - use crate::SyntaxConfig; - - use super::parse_latex; - - #[test] - fn test_parse() { - insta::glob!("test_data/latex/{,**/}*.txt", |path| { - let text = std::fs::read_to_string(path).unwrap().replace("\r\n", "\n"); - let root = latex::SyntaxNode::new_root(parse_latex(&text, &SyntaxConfig::default())); - insta::assert_debug_snapshot!(root); - }); - } -} +mod tests; |