Skip to content

Wrong error message for edit command  #6

Description

@RunjiaChen

image.png

Description

The edit command does not give the same error message for different values

Steps to reproduce

  1. Launch the application for the first time to load initial data.
  2. Run the edit command for a very large number

Expected behaviour

It should result in an invalid index error message

Actual behaviour

Now, it says invalid command format

Reason for severity

Doesnt really affect the functionality of the application

Ideas

May be caused as you did not check for whether the number counts as an integer or it causes overflow

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions