Skip to content

Commit

Permalink
fixed #13485 - symbol names in error messages were not serialized
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Dec 27, 2024
1 parent be51c53 commit e12ba2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/testerrorlogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,8 @@ class TestErrorLogger : public TestFixture {
}

void SerializeAndDeserialize() const {
ErrorMessage msg({}, emptyString, Severity::warning, emptyString, "id", Certainty::normal);
ErrorMessage msg({}, emptyString, Severity::warning, "$symbol:var\nmessage $symbol", "id", Certainty::normal);
msg.remark = "some remark";
msg.setmsg("$symbol:var\nmessage $symbol");

ErrorMessage msg2;
ASSERT_NO_THROW(msg2.deserialize(msg.serialize()));
Expand Down

0 comments on commit e12ba2b

Please sign in to comment.