diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-05-09 20:47:04 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-05-09 20:47:04 +0300 |
| commit | 160b64427d79290a59ac48c9babca064232d8dfd (patch) | |
| tree | 0c2cc79f0a266761866ff325abdd4f2f0c7e7301 /compiler/src/ast/tests.rs | |
| parent | 6be28381d6081dfb3a1dc9d1ec15062b67ba1ef9 (diff) | |
| download | crisp-dev.tar.gz crisp-dev.zip | |
Make project structure more consistentdev
Diffstat (limited to 'compiler/src/ast/tests.rs')
| -rw-r--r-- | compiler/src/ast/tests.rs | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/compiler/src/ast/tests.rs b/compiler/src/ast/tests.rs index c6d8c38..8905427 100644 --- a/compiler/src/ast/tests.rs +++ b/compiler/src/ast/tests.rs | |||
| @@ -1,14 +1,10 @@ | |||
| 1 | use std::f64; | 1 | use std::{fmt::Debug, iter::repeat_n, rc::Rc}; |
| 2 | use std::fmt::Debug; | ||
| 3 | use std::iter::repeat_n; | ||
| 4 | use std::rc::Rc; | ||
| 5 | 2 | ||
| 6 | use self::E::*; | 3 | use crate::{ |
| 7 | use super::{Error, Parser, parser::MAX_DEPTH}; | 4 | ast::{Atom, Error, Expr, Parser, parser::MAX_DEPTH, tests::E::*}, |
| 8 | use crate::ast::{Atom, Expr}; | 5 | lex::Token::{self, *}, |
| 9 | use crate::lexer::Token; | 6 | span::{Pos, Span, Spanned}, |
| 10 | use crate::lexer::Token::*; | 7 | }; |
| 11 | use crate::span::{Pos, Span, Spanned}; | ||
| 12 | 8 | ||
| 13 | #[derive(Debug, PartialEq)] | 9 | #[derive(Debug, PartialEq)] |
| 14 | enum E { | 10 | enum E { |
