-
Notifications
You must be signed in to change notification settings - Fork 141
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
[W5.11r] [W13-B4] Natania Djohari #774
base: master
Are you sure you want to change the base?
Conversation
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.
@natania-d Some comments added. Please close the PR after reading comments.
@@ -38,6 +38,10 @@ Examples: | |||
Shows a list of all persons in the address book.<br> | |||
Format: `list` | |||
|
|||
## Sorting all persons : `sort` | |||
Sorts a list of all persons in lexicographical order. <br> |
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.
Since the sort command also displays the resulting list of sorted persons, it would be meaningful to document this behaviour too =).
@@ -201,6 +201,24 @@ public void execute_list_showsAllPersons() throws Exception { | |||
expectedList); | |||
} | |||
|
|||
@Test | |||
public void execute_sort() throws Exception { |
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 job adding in the corresponding test for the feature! =)
Add sort command