Skip to content

Commit

Permalink
Fix error message for done/delete array index out of bound
Browse files Browse the repository at this point in the history
  • Loading branch information
pos0414 committed Oct 1, 2021
1 parent 83b638b commit 32a4f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/DukeException.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class DukeException extends Exception {
"OOPS!! The task's index should be a number.";
protected static final String ERROR_INDEX_OUT_OF_BOUND = Ui.INDENT +
"OOPS!! The task's index should be positive and " +
Ui.LINE_SEPARATOR_AND_INDENT + "smaller than the total number of tasks";
Ui.LINE_SEPARATOR_AND_INDENT + "smaller or equal to the total number of tasks";
protected static final String ERROR_NO_EVENT_DATE = Ui.INDENT +
"OOPS!! The date of event can't be empty." + Ui.LINE_SEPARATOR_AND_INDENT +
"Or you haven't used /on for date";
Expand Down

0 comments on commit 32a4f8c

Please sign in to comment.