aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_parser/src/tests.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/askama_parser/src/tests.rs b/askama_parser/src/tests.rs
index 4717652..9f0fbd1 100644
--- a/askama_parser/src/tests.rs
+++ b/askama_parser/src/tests.rs
@@ -1,4 +1,6 @@
-use super::{Ast, Expr, Lit, Node, Syntax, Whitespace, Ws};
+use super::expr::Expr;
+use super::node::{Lit, Node, Whitespace, Ws};
+use super::{Ast, Syntax};
fn check_ws_split(s: &str, res: &(&str, &str, &str)) {
let Lit { lws, val, rws } = Lit::split_ws_parts(s);
@@ -629,7 +631,7 @@ fn test_parse_comments() {
#[test]
fn test_parse_tuple() {
- use super::Expr::*;
+ use super::expr::Expr::*;
let syntax = Syntax::default();
assert_eq!(
Ast::from_str("{{ () }}", &syntax).unwrap().nodes,