Skip to content

Conversation

Aditya5009
Copy link
Contributor

pull request

Hello, I am new to open source contribution. This is my first contribution.
I have gone through README, Code of conduct, and Contributing.
Added @DisplayName() annotation in MatrixTest, LuhnValidatorTest, PangramCheckerTest.
Passed all test cases, checks, and compileStarterTestJava.


Reviewer Resources:

Track Policies

Copy link
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

Copy link
Member

@jagdish-15 jagdish-15 left a comment

Choose a reason for hiding this comment

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

I noticed you added an extra * before Character.getNumericValue() in the comment. Could you please revert that back to the original

Comment on lines 169 to 173
/* The following test diverges from the canonical test data. This is because the corresponding canonical test does
* not account for Java specific functions (such as Character.getNumericValue()), which can be part of incorrect yet
* not account for Java specific functions (such as * Character.getNumericValue()), which can be part of incorrect yet
* passing implementations. For more detail, check out issue #972 here:
* (https://github.com/exercism/java/issues/972).
*/
Copy link
Member

@jagdish-15 jagdish-15 Sep 23, 2025

Choose a reason for hiding this comment

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

Suggested change
/* The following test diverges from the canonical test data. This is because the corresponding canonical test does
* not account for Java specific functions (such as Character.getNumericValue()), which can be part of incorrect yet
* not account for Java specific functions (such as * Character.getNumericValue()), which can be part of incorrect yet
* passing implementations. For more detail, check out issue #972 here:
* (https://github.com/exercism/java/issues/972).
*/
/* The following test diverges from the canonical test data. This is because the corresponding canonical test does
* not account for Java specific functions (such as Character.getNumericValue()), which can be part of incorrect yet
* passing implementations. For more detail, check out issue #972 here:
* (https://github.com/exercism/java/issues/972).
*/

Copy link
Member

Choose a reason for hiding this comment

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

Also, could you add this @DisplayName("string containing symbols is invalid (Java track specific)") tag to the last test (since it’s Java-specific, you wouldn’t have found one for it in the problem-specifications repo), and slightly adjust the method name to testStringContainingSymbolsIsInvalidJavaTrackSpecific()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey, I’ve reverted as requested. Please check and confirm. I must have added that * accidentally, sorry for the inconvenience.

Copy link
Member

Choose a reason for hiding this comment

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

Could you also add the last DisplayName tag for the Java-specific test? I've provided the information above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your guidance and for accepting my changes. This was my first contribution to an open-source project, and I really appreciate the support.

Copy link
Member

Choose a reason for hiding this comment

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

You’re very welcome! Thanks for making your first contribution here. It’s always great to see new contributors getting involved. Congrats on your first PR, and we hope to see more from you in the future!

@jagdish-15 jagdish-15 merged commit 23eb65c into exercism:main Sep 23, 2025
5 checks passed
@Aditya5009 Aditya5009 deleted the java_test branch October 1, 2025 12:50
bibekparajuli123 pushed a commit to bibekparajuli123/java that referenced this pull request Oct 4, 2025
* MatrixTest, LuhnValidatorTest, PangramCheckerTest

* change

* MatrixTest, LuhnValidatorTest, PangramCheckerTest

* MatrixTest, LuhnValidatorTest, PangramCheckerTest

* MatrixTest, LuhnValidatorTest, PangramCheckerTest

[no important files changed]
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