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

ErrorFormatter: fix error msg on last line of code snippet #98

Merged
merged 1 commit into from Feb 22, 2022

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Feb 21, 2022

This small tweak makes the display of the error message independent of the code snippet implementation and will ensure that the actual error message is always displayed on the next line after the code snippet.

Fixes #93

This small tweak makes the display of the error message independent of the code snippet implementation and will ensure that the actual error message is always displayed on the next line after the code snippet.

Fixes 93
@jrfnl jrfnl added this to the 1.3.x Next milestone Feb 21, 2022
@jrfnl jrfnl requested a review from grogy February 21, 2022 23:04
@grogy
Copy link
Member

grogy commented Feb 22, 2022

Can we add unit test, please?

@jrfnl
Copy link
Collaborator Author

jrfnl commented Feb 22, 2022

Can we add unit test, please?

There are no unit tests for this code at all yet, so if you don't mind, I'd rather add tests for the whole class during the test project.

@grogy grogy mentioned this pull request Feb 22, 2022
@grogy grogy merged commit 8f8a9cd into master Feb 22, 2022
@grogy grogy deleted the feature/93-error-msg-on-new-line branch February 22, 2022 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Text output does not always display error on new line
2 participants