From 33f65210eeb6bd573a694aa4ffa8c252140403be Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 22 Jun 2023 18:50:20 -0600 Subject: [PATCH] make tests compatible --- src/heap_print.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/heap_print.rs b/src/heap_print.rs index aa93ad29..2a2149d2 100644 --- a/src/heap_print.rs +++ b/src/heap_print.rs @@ -1717,7 +1717,7 @@ mod tests { heap_loc_as_cell!(0) ); - printer.var_names.insert(list_loc_as_cell!(1), Var::from("L")); + printer.var_names.insert(list_loc_as_cell!(1), VarPtr::from("L")); let output = printer.print(); @@ -1778,7 +1778,7 @@ mod tests { heap_loc_as_cell!(0) ); - printer.var_names.insert(list_loc_as_cell!(1), Var::from("L")); + printer.var_names.insert(list_loc_as_cell!(1), VarPtr::from("L")); let output = printer.print(); -- 2.54.0