summaryrefslogtreecommitdiff
path: root/support/texlab/src/citation/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/src/citation/tests.rs')
-rw-r--r--support/texlab/src/citation/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/texlab/src/citation/tests.rs b/support/texlab/src/citation/tests.rs
index 16aefea11d..6caff1add0 100644
--- a/support/texlab/src/citation/tests.rs
+++ b/support/texlab/src/citation/tests.rs
@@ -1,10 +1,10 @@
use insta::assert_snapshot;
use rowan::ast::AstNode;
-use crate::syntax::bibtex;
+use crate::{parser::parse_bibtex, syntax::bibtex};
fn render_entry(input: &str) -> String {
- let green = bibtex::parse(input);
+ let green = parse_bibtex(input);
let root = bibtex::Root::cast(bibtex::SyntaxNode::new_root(green)).unwrap();
let entry = root.entries().next().unwrap();
super::render(&entry).unwrap()