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

Issue #13012: Resolve Path contains invalid character #13862

Closed
wants to merge 1 commit into from
Closed

Issue #13012: Resolve Path contains invalid character #13862

wants to merge 1 commit into from

Conversation

AayushSaini101
Copy link
Contributor

Related: #13012

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

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

Items

check.setHeaderFile(new URI("test://bad"));
final String nonAscii = "\u00e6\u00f8\u00e5";
final URI uri = new URI("test://bad" + nonAscii);
check.setHeaderFile(uri);

Copy link
Member

Choose a reason for hiding this comment

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

Please create new test method.
We need to make sure all existing tests continue to work as before.

try {
final String[] expected = CommonUtil.EMPTY_STRING_ARRAY;
verifyWithInlineConfigParser(configInDirWithNonAsciiCharacters.toString(), expected);
assertWithMessage("Test should fail if exception was not thrown").fail();
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, checkstyle should work well according to issue, please explain why you expect exception

@AayushSaini101 AayushSaini101 closed this by deleting the head repository Oct 20, 2023
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