Skip to content

Commit 876111e

Browse files
committed
[tests] Cleanup
Signed-off-by: Manas <manas18244@iiitd.ac.in>
1 parent 6ae2894 commit 876111e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/tests.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,12 @@ use qcc::parser::Parser;
99
#[macro_export]
1010
macro_rules! test {
1111
($path:expr, $repr:expr) => {{
12-
println!(">> Testing {} ...", $path);
13-
1412
let mut parser = Parser::new(vec![$path])?.unwrap();
1513
let config = parser.get_config();
1614
let mut ast = parser.parse(&config.analyzer.src)?;
1715

1816
match infer(&mut ast) {
1917
Ok(_) => {
20-
// TODO: write own macro to assert ast, so that diff is better
21-
// presented at test failure. The stdlib macros just dump left
22-
// and right strings without showing the diff.
2318
assert_eq!(format!("{}", ast), $repr, "AST did not match for {}", $path);
2419
}
2520
Err(err) => {

0 commit comments

Comments
 (0)