Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not throw error when user enters an edit command with nothing nothing to edit #6

Open
nirala-ts opened this issue Nov 8, 2024 · 0 comments

Comments

@nirala-ts
Copy link
Owner

Steps to reproduce
Enter the following command in order:
expense Taxi /a 65 /c TRANSPORT
edit 1

Expected Output
There should some kind of error message shown to the user to highlight that the edit command entered by the user has no information on what to edit for the transaction at index 1.

Actual Output
However, a success message is shown, telling the user that the transaction at index 1 has been edited.

Screenshot
Screenshot 2024-11-08 at 4.37.03 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant