This commit is contained in:
Vyacheslav Egorov 2023-07-14 10:38:54 -07:00
parent 4ffa98f4df
commit f16d002db9

View File

@ -341,7 +341,7 @@ TEST_CASE_FIXTURE(Fixture, "equal_function")
INFO(diffRes.diffError->toString());
CHECK(!diffRes.diffError.has_value());
}
catch (InternalCompilerError e)
catch (const InternalCompilerError& e)
{
INFO(("InternalCompilerError: " + e.message));
CHECK(false);
@ -377,7 +377,7 @@ TEST_CASE_FIXTURE(Fixture, "equal_function_inferred_ret_length")
INFO(diffRes.diffError->toString());
CHECK(!diffRes.diffError.has_value());
}
catch (InternalCompilerError e)
catch (const InternalCompilerError& e)
{
INFO(("InternalCompilerError: " + e.message));
CHECK(false);