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

_ considered as invalid char in package names #282

Open
mohamnag opened this issue Oct 16, 2019 · 0 comments
Open

_ considered as invalid char in package names #282

mohamnag opened this issue Oct 16, 2019 · 0 comments

Comments

@mohamnag
Copy link

according to this _ is a valid char in package names but adding following line in io.vertx.test.codegen.CaseTest#testParseQualifiedCase:

parseQualifiedCase("foo.bar.juu_oo", "foo", "bar", "juu_oo");

will result in a failed test result:

-------------------------------------------------------------------------------
Test set: io.vertx.test.codegen.CaseTest
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! - in io.vertx.test.codegen.CaseTest
testParseQualifiedCase(io.vertx.test.codegen.CaseTest)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IllegalArgumentException: Invalid qualified case:foo.bar.juu_oo
	at io.vertx.codegen.QualifiedCase.parse(QualifiedCase.java:35)
	at io.vertx.test.codegen.CaseTest.parseCase(CaseTest.java:178)
	at io.vertx.test.codegen.CaseTest.parseQualifiedCase(CaseTest.java:166)
	at io.vertx.test.codegen.CaseTest.testParseQualifiedCase(CaseTest.java:65)
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