mrweikiat / pe

0 stars 0 forks source link

Differences in error thrown for edelete command #5

Open mrweikiat opened 3 years ago

mrweikiat commented 3 years ago

command was : edelete 100000000000

expected: error thrown will be "None of the indexes are valid"

Actual: Invalid command format

image.png

Possible: Was not stated in the DG that after a certain index the error thrown is different

image.png

Expected: documentation under delete command

image.png

nus-pe-bot commented 3 years ago

Team's Response

As specified in our UG: an index is a "Positive integer between 0 and 2,147,483,647 inclusive, representing the ID present in the filtered list". 100000000000 has exceeded this range, thus it is not an index, and gives invalid command format as error.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]