-
-
Notifications
You must be signed in to change notification settings - Fork 46
JSON5 Support #210
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
JSON5 Support #210
Conversation
itzg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks!
|
Hmm, test failed. Looks like I don't have it grabbing the test report on failure, so only have the line number of the failed assertion. |
|
Huh, I ran gradlew clean build before opening the PR. I'll look into it |
|
Oh, I wonder if it's a Windows vs Linux line ending thing. I'm away from my computer, so I can't check, there might be an ignore line endings variant of assert. |
|
Got a chance to look into it, I think it's the parser acts differently on windows vs linux. Windows inserts a new line character with '\r\n' while linux just uses '\n'. Gonna try updating the "expected-setInJson5.json5" file to use '\n' instead |
itzg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and it still passes on Windows 😀
|
Included in this image build https://github.com/itzg/docker-minecraft-server/actions/runs/4836679121 |
Added Json5FileFormat