fix tests

This commit is contained in:
Mark Thom
2018-10-24 23:16:49 -06:00
parent 69a7579adb
commit a4e882756e
5 changed files with 9 additions and 3 deletions

View File

@@ -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);

View File

@@ -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))
};