mirror of
https://github.com/open-goal/jak-project
synced 2026-07-08 14:36:52 -04:00
fixes
This commit is contained in:
@@ -260,10 +260,10 @@ void FormRegressionTest::test(const std::string& code,
|
||||
auto ts = dts->parse_type_spec(type);
|
||||
auto test = make_function(code, ts, settings);
|
||||
ASSERT_TRUE(test);
|
||||
auto expected_form =
|
||||
auto& expected_form =
|
||||
pretty_print::get_pretty_printer_reader().read_from_string(expected, false).as_pair()->car;
|
||||
ASSERT_TRUE(test->func.ir2.top_form);
|
||||
auto actual_form =
|
||||
auto& actual_form =
|
||||
pretty_print::get_pretty_printer_reader()
|
||||
.read_from_string(test->func.ir2.top_form->to_form(test->func.ir2.env).print(), false)
|
||||
.as_pair()
|
||||
@@ -322,4 +322,4 @@ void FormRegressionTest::test_with_stack_structures(const std::string& code,
|
||||
}
|
||||
|
||||
std::unique_ptr<InstructionParser> FormRegressionTest::parser;
|
||||
std::unique_ptr<DecompilerTypeSystem> FormRegressionTest::dts;
|
||||
std::unique_ptr<DecompilerTypeSystem> FormRegressionTest::dts;
|
||||
|
||||
Reference in New Issue
Block a user