Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestDiagnostic#getMessage behavior changed #809

Open
wmdietl opened this issue Jul 14, 2024 · 0 comments
Open

TestDiagnostic#getMessage behavior changed #809

wmdietl opened this issue Jul 14, 2024 · 0 comments

Comments

@wmdietl
Copy link
Member

wmdietl commented Jul 14, 2024

#758 added DetailedTestDiagnostic for test diagnostics from -Adetailedmsgtext.
This unfortunately breaks clients that manually parsed this output.
TestDiagnostic#getMessage used to return the whole message, including the $$-separated arguments.
DetailedTestDiagnostic#getMessage only returns the readable part of the error message.

This could be fixed a few different ways, e.g. by changing the behavior of getMessage back to the original and adding a new DetailedTestDiagnostic#getReadableMessage, or by adding a new TestDiagnostic#getRawMessage or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant