fix tests
This commit is contained in:
@@ -132,7 +132,9 @@ impl MachineState {
|
||||
output.append(" = ");
|
||||
|
||||
let mut printer = HCPrinter::from_heap_locs(&self, output, var_dir);
|
||||
|
||||
printer.numbervars = false;
|
||||
printer.quoted = true;
|
||||
|
||||
let mut output = printer.print(addr);
|
||||
|
||||
|
||||
@@ -126,6 +126,10 @@ impl MachineState {
|
||||
} else {
|
||||
let mut output = {
|
||||
let mut printer = HCPrinter::new(&self, PrinterOutputter::new());
|
||||
|
||||
printer.quoted = true;
|
||||
printer.numbervars = true;
|
||||
|
||||
printer.print(Addr::HeapCell(h))
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user