WM71811 / pe

0 stars 0 forks source link

Inconsistent error message #6

Open WM71811 opened 3 years ago

WM71811 commented 3 years ago

delete -1 shows Unrecognized option: -1 delete 100 shows invalid index

nus-se-bot commented 3 years ago

Team's Response

Thank you for the bug report. However, this is the expected behaviour of our app as "-1" will be treated as a flag (refer to UG) , while "100" is treated as an index that may be invalid if size of food list is <100.

Essentially, the parser throws this error since it treats -1 as a flag (like -t, -n, ...).

Therefore, we will be rejecting this as a bug as the "issue" follows the expected behaviour.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]