cl-interpret/tests: Fix broken test
This commit is contained in:
parent
ae11d87d68
commit
df68d6f2e6
@ -1,5 +1,5 @@
|
||||
#![allow(unused_imports)]
|
||||
use crate::{env::Environment, convalue::ConValue, Interpret};
|
||||
use crate::{convalue::ConValue, env::Environment, Interpret};
|
||||
use cl_ast::*;
|
||||
use cl_lexer::Lexer;
|
||||
use cl_parser::Parser;
|
||||
@ -188,7 +188,7 @@ mod fn_declarations {
|
||||
assert_eval!(env, fn empty_fn() {});
|
||||
// TODO: true equality for functions
|
||||
assert_eq!(
|
||||
"fn empty_fn () {\n \n}",
|
||||
"fn empty_fn () {}",
|
||||
format!(
|
||||
"{}",
|
||||
env.get("empty_fn".into())
|
||||
|
Loading…
Reference in New Issue
Block a user