nus-cs2103-AY2021S1 / pe-dev-response

0 stars 0 forks source link

Error message does not reflect the error i am giving #386

Open nus-se-bot opened 3 years ago

nus-se-bot commented 3 years ago

in this instance i am giving a -1 for the flor number. Hoever the error message says it must be a number not 0 and at most 2 digits which it fits the requirement. Perhaps have an error message for negative values image.png


[original: nus-cs2103-AY2021S1/pe-interim#342]

Lysire commented 3 years ago

Team's Response

We will be rejecting this report. The character '-' is not a number. (Note: the error message says floor numbers should only contain numbers and not must be a number). Therefore, not only is the input of "-1" invalid, but the error message is correct and expected.

Duplicate status (if any):

--