diff options
Diffstat (limited to 'support/texlab/crates/parser/src/bibtex.rs')
-rw-r--r-- | support/texlab/crates/parser/src/bibtex.rs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/support/texlab/crates/parser/src/bibtex.rs b/support/texlab/crates/parser/src/bibtex.rs index d74254b2c5..fda0d4a0ad 100644 --- a/support/texlab/crates/parser/src/bibtex.rs +++ b/support/texlab/crates/parser/src/bibtex.rs @@ -436,17 +436,4 @@ impl From<ContentToken> for SyntaxKind { } #[cfg(test)] -mod tests { - use syntax::bibtex; - - use super::parse_bibtex; - - #[test] - fn test_parse() { - insta::glob!("test_data/bibtex/{,**/}*.txt", |path| { - let text = std::fs::read_to_string(path).unwrap().replace("\r\n", "\n"); - let root = bibtex::SyntaxNode::new_root(parse_bibtex(&text)); - insta::assert_debug_snapshot!(root); - }); - } -} +mod tests; |