Open nus-pe-bot opened 9 months ago
Thank you for spotting this error. We should have been more careful in the testing phase when testing these kinds of outputs and seeing what the program outputs. We have put this error as a severity.VeryLow
as it is purely a UI issue.
--
upon wrong number of calories given, the seedu.duke.data.exception.IncorrectFormatException will also appear
steps to reproduce:
log 1 2 Football 9999999999999
log 1 2 Football -1000
expected:
Please specify reasonable positive numbers in the month, day, and calories burned fields
You cannot burn a negative number of calories.
actual:
seedu.duke.data.exception.IncorrectFormatException: Please specify reasonable positive numbers in the month, day, and calories burned fields
seedu.duke.data.exception.IncorrectFormatException: You cannot burn a negative number of calories.
[original: nus-cs2113-AY2324S1/pe-interim#797] [original labels: type.FeatureFlaw severity.VeryLow]