aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/tests.rs
diff options
context:
space:
mode:
authorLibravatar René Kijewski <rene.kijewski@fu-berlin.de>2023-08-01 10:39:24 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-08-01 13:04:41 +0200
commitcdfe287b730a748f0601da2bc471d056c72c0559 (patch)
tree894d09427e3f8791af7d9196b45f387acb550b71 /askama_parser/src/tests.rs
parent1521a08a20b6631b54d4ecbbbfcb4260e393bc97 (diff)
downloadaskama-cdfe287b730a748f0601da2bc471d056c72c0559.tar.gz
askama-cdfe287b730a748f0601da2bc471d056c72c0559.tar.bz2
askama-cdfe287b730a748f0601da2bc471d056c72c0559.zip
parser: remove re-exports `parser::{node,expr}::*`
Diffstat (limited to 'askama_parser/src/tests.rs')
-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,