-
-
Notifications
You must be signed in to change notification settings - Fork 691
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
Fix broken test in Captains Log #2588
Conversation
Changed the end index of the randomShipRegistryNumber() so that the range goes from 1000 to 9999
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.
Great start, and I appreciate your willingness to try and contribute!
Unfortunately it looks like you made a small typo when updating CaptainsLog.java
, see the inline comment.
Next to that the test class also needs updating. If you make sure to commit all changes to the same branch (called patch-1
in your copy of this repository) they should all end up in this same Pull Request. 👍
exercises/concept/captains-log/.meta/src/reference/java/CaptainsLog.java
Outdated
Show resolved
Hide resolved
Made changes to the Test file updating the expected values to (which are NCC-6258, NCC-1683 and NCC-4922 respectively).
Updated the typo of the end range to be 10000 instead of 11000
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.
I made the changes to the previous PR, changing the end range to 10000 and changing the test file to the new expected values (which are NCC-6258, NCC-1683 and NCC-4922 respectively).
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.
Great work, thanks for fixing this!
Congratulations with your first contribution @santialb! 🎉 |
Thanks for letting me help @sanderploegsma ! |
Changed the end index of the randomShipRegistryNumber() so that the range goes from 1000 to 9999
Fixes #2589
Reviewer Resources:
Track Policies