Open nus-pe-bot opened 3 days ago
We believe that this is a 50-50 option. When nothing exists, clearing everything or clearing nothing is the same. So choosing which to output in this case is very based on preference. We believe that it is purely based on your preference that you really want us to output "nothing to be cleared" in this case.
--
Description When the user enters remove-all-txs after no previous transactions have been performed, there is no message that the transaction cannot be deleted because there are currently no transactions that can be deleted. Instead, the message to remove the transaction is still executed. This might mislead the user that there was a previous transaction and it has been deleted by him?
Steps to Reproduce What would you like to do?
list-txs No transaction available.
What would you like to do?
remove-all-txs All transactions removed!!!
Expected Behavior Cannot be deleted as there are no current transactions.
Actual Behavior All transactions removed!!!
Evidence
[original: nus-cs2113-AY2425S1/pe-interim#737] [original labels: type.FeatureFlaw severity.Low]