From: Mark Date: Fri, 23 Jun 2023 00:50:20 +0000 (-0600) Subject: make tests compatible X-Git-Tag: v0.9.2~123^2~25 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=33f65210eeb6bd573a694aa4ffa8c252140403be;p=scryer-prolog.git make tests compatible --- 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();