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 catch missing description argument for edit command #8

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

Does not catch missing description argument for edit command #8

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 /des

Expected Output
There should some kind of error message shown to the user to highlight that the edit command entered by the user has missing description after the /des flag.

Actual Output
However, a success message is shown, telling the user that the transaction at index 1 has been edited when no information has been given on how the transaction should be edited.

Screenshot
Screenshot 2024-11-08 at 4.51.04 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