Skip to content

Delete Command Bug #1

Description

@darrenlsx

image.png

Input: /delete 0

Output:

Entry not found. Please enter an ID from 1 to 0.

Expected Output:

Entry not found. Your list is empty.

Description of Bug:

When list is empty, when given input command: /delete 0. The output given by program is "Please enter an ID from 1 to 0". In my opinion, the printing output is not what was expected due the given range 1 to 0. There is already 0 items in the list, so first of all the starting index should not be 1. Second, the team could perhaps maybe have a separate error print statement for empty list.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions