From df68d6f2e6ba453b36169fb2ca62bdabd9b7e53e Mon Sep 17 00:00:00 2001 From: John Date: Thu, 19 Sep 2024 14:29:21 -0500 Subject: [PATCH] cl-interpret/tests: Fix broken test --- compiler/cl-interpret/src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/cl-interpret/src/tests.rs b/compiler/cl-interpret/src/tests.rs index 6c155e2..94f8df1 100644 --- a/compiler/cl-interpret/src/tests.rs +++ b/compiler/cl-interpret/src/tests.rs @@ -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())