]> Repositorios git - scryer-prolog.git/commitdiff
make tests compatible
authorMark <[email protected]>
Fri, 23 Jun 2023 00:50:20 +0000 (18:50 -0600)
committerMark <[email protected]>
Fri, 23 Jun 2023 20:11:31 +0000 (14:11 -0600)
src/heap_print.rs

index aa93ad29f14c27e0e804236c267692c805a281fa..2a2149d285f4c6242282ddc2aac9e375caa5c9e4 100644 (file)
@@ -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();