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

Use System.lineSeparator in XmlUtil (for Windows compatibility) #1410

Merged
merged 3 commits into from
May 31, 2024

Conversation

OrangeAndGreen
Copy link
Contributor

Replaced a usage of '\n' with System.lineSeparator() in XmlUtil.
This fixes a broken unit test when running on a Windows machine.

@shubham1g5
Copy link
Contributor

duplicate this PR

shubham1g5
shubham1g5 previously approved these changes May 30, 2024
@shubham1g5
Copy link
Contributor

shubham1g5 commented May 30, 2024

duplicate this PR

FP already seems to have this change , @OrangeAndGreen think we should pull up this file from formplayer branch as it is to ensure that we have the same code on both branches for XmlUtil

@OrangeAndGreen
Copy link
Contributor Author

Merged the other changes that were on formplayer for XmlUtil, the two files are now identical

@shubham1g5
Copy link
Contributor

thanks, looks like you probably also need to replicate xml used in XmlUtilTest to fix the failing test now.

Copy link
Contributor

@shubham1g5 shubham1g5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@OrangeAndGreen OrangeAndGreen merged commit e5cb43f into master May 31, 2024
2 checks passed
@OrangeAndGreen OrangeAndGreen deleted the dv/line_separator branch May 31, 2024 13:43
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

Successfully merging this pull request may close these issues.

2 participants