Update UsernameGeneratorTest.java#8
Conversation
Removed the internationalized version of e character.
|
|
b81826a to
8f7e481
Compare
tyler-mairose-sp
left a comment
There was a problem hiding this comment.
Hello @sunnyajmera,
If you pull the latest changes from the repository this should not be an issue. I added logic to remove diacritical marks so the test should pass.
Please let me know and I can close this PR!
I still don't see the change and issue is still happening even after pulling the latest. |
|
Late to the party, but this is an issue caused the system default encoding when using Maven on Windows. There are hints of an issue because Maven outputs messages like <properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- This !-->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- This !-->
</properties> |
Removed the internationalized version of e character as it was throwing error while building the code.
Error
INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] UsernameGeneratorTest.testUsernameGeneratorWhereFirstAndLastNameValid:50 expected: <tylar.smith> but was: <tyler.smith>
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0
[INFO]