Skip to content

Commit

Permalink
Fix /delete bug
Browse files Browse the repository at this point in the history
  • Loading branch information
linnn-7 committed Mar 28, 2024
1 parent 7b8b7f5 commit d270adf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ checkstyle {
toolVersion = '10.2'
}

test {
forkEvery = 1
}

test {
useJUnitPlatform()
finalizedBy jacocoTestReport
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
public class DeleteCommand extends Command {

public static final String COMMAND_WORD = "/remove";
public static final String COMMAND_WORD = "/delete";

public static final String MESSAGE_USAGE = COMMAND_WORD
+ ": Removes the person identified by the id number provided.\n"
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/seedu/address/logic/LogicManagerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void execute_invalidCommandFormat_throwsParseException() {

@Test
public void execute_commandExecutionError_throwsCommandException() {
String deleteCommand = "/remove 240009";
String deleteCommand = "/delete 240009";
assertCommandException(deleteCommand, MESSAGE_INVALID_PERSON_DISPLAYED_ID);
}

Expand Down

0 comments on commit d270adf

Please sign in to comment.