summaryrefslogtreecommitdiff
path: root/src/syntax/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-06 12:37:08 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-06 12:37:08 +0100
commit3ecb0c754bc1777e002a43e4c34b27e676f9a95c (patch)
tree49dd299b6671058dd47b7dae84b748f117a962d3 /src/syntax/mod.rs
parentc2e458a133772a94009733040b39d58e781af977 (diff)
More math syntax
Diffstat (limited to 'src/syntax/mod.rs')
-rw-r--r--src/syntax/mod.rs17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index 2ef49322..c461a589 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -24,19 +24,4 @@ use incremental::reparse;
use parser::*;
#[cfg(test)]
-mod tests {
- use std::fmt::Debug;
-
- #[track_caller]
- pub fn check<T>(text: &str, found: T, expected: T)
- where
- T: Debug + PartialEq,
- {
- if found != expected {
- println!("source: {text:?}");
- println!("expected: {expected:#?}");
- println!("found: {found:#?}");
- panic!("test failed");
- }
- }
-}
+mod tests;