nus-cs2103-AY2021S2 / pe-dev-response

0 stars 0 forks source link

List should throw error if moduleBook is empty #996

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

Steps to Reproduce: clear then list

Expected: Error message saying book is empty

Actual: Success message

Screenshots:

Screenshot 2021-04-16 at 3.01.47 PM.png


[original: nus-cs2103-AY2021S2/pe-interim#996] [original labels: severity.VeryLow type.FunctionalityBug]

umergta commented 3 years ago

Team's Response

Thank you for pointing this out. We believe that no error message should be thrown as the message is trivially true as there are no tasks. Hence, saying "listed all tasks" is not wrong.

Duplicate status (if any):

--