hongyijie06 / pe

0 stars 0 forks source link

wrong error message for veiw-history command #1

Open hongyijie06 opened 4 months ago

hongyijie06 commented 4 months ago

for the first command in the picture, the user types view-command n/01, as the user may have typed too fast and typed 01 instead of 10. The expected error message is "invalid index", however, it gives the same error message for an invalid command (see last command in the picture)

image.png

nus-pe-bot commented 4 months ago

Team's Response

You got invalid command message for the first command, because it indeed is an invalid command (You typed view-History n/01 instead of view-history n/01). Also, do note that "01" will be interpreted as "1" and not "10", so you will get error message only if you have no transactions.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]