nus-cs2113-AY2223S2 / pe-dev-response

0 stars 0 forks source link

Error message does not match the error for invalid index given for `category` #1511

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

Hi, I purposely used an index that is larger than the current size of the category list, as seen in the screenshot, although I have already followed the correct format, no warning error messages about the invalid index that I have input appeared.

image.png


[original: nus-cs2113-AY2223S2/pe-interim#1188] [original labels: type.FunctionalityBug severity.Medium]

Mnsd05 commented 1 year ago

Team's Response

You are not following the correct format. I assume you want the category to be "electricity bill", then the correct format should be "edit c/electricity bill e/4", not "edit e/electricity bill e/4"

Duplicate status (if any):

--