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

added delete reminder command and test cases #113

Conversation

minpyaemoe
Copy link

Aded delete reminder command and test cases


public static final String COMMAND_WORD = "reminder";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a Reminder to MoneyGoWhere. "
public static final String MESSAGE_USAGE = COMMAND_WORD + " " + AddReminderCommand.COMMAND_WORD

Choose a reason for hiding this comment

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

Can probably reference AddReminderCommand's usage here

Copy link
Author

Choose a reason for hiding this comment

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

thanks for pointing out

}
+ PREFIX_MESSAGE + "MESSAGE "
+ "\n" + " or " + "\n"
+ COMMAND_WORD + " delete" + ": Remove a Reminder from MoneyGoWhere. "

Choose a reason for hiding this comment

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

Same for delete


public static final String MESSAGE_SUCCESS = "New Reminder added: %1$s";

private final Reminder toAdd;

Choose a reason for hiding this comment

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

Better to keep it as reminder or value

Copy link
Author

Choose a reason for hiding this comment

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

i will change the variable name to reminderToAdd.

@Nanosync Nanosync merged commit 828d68e into AY1920S1-CS2103T-F13-3:master Oct 28, 2019
@choongyx choongyx added this to the v1.3 milestone Oct 30, 2019
@Nanosync
Copy link

Fixes #127

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.

None yet

3 participants