Open nus-pe-bot opened 3 years ago
The correct message should be "Index should be a positive integer smaller than 2^31". Thank you for the bug report
However, I believe this only cause minor inconvenience in rare situations only, so I will mark this bug's severity as Low
--
Description
When running command
delete 0
, McGymmy display an error message sayingIndex should be smaller than 2^31.
, while 0 is indeed smaller than 2^31. It is expected to beThe food index provided is invalid
.How to Reproduce
delete 0
.Screenshot
[original: nus-cs2103-AY2021S1/pe-interim#5988]