Skip to content

Bug: wait rejects valid multi-digit integers #8

Description

@nholthaus

Problem

The wait command is intended to accept an integer delay, but valid multi-digit values are currently rejected. This makes the command fail for inputs that should be accepted.

Specification

Fix wait so it accepts valid integer arguments consistently.

Acceptance criteria:

  • Single-digit and multi-digit integer delays are accepted.
  • Variable-expanded integer values are accepted.
  • Invalid, empty, or multi-argument inputs still fail with a clear error message.
  • The command's user-facing contract remains a single integer argument.

Motivation

This is a small correctness issue in an existing built-in command and is well-scoped for a bugfix contribution.

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

    Labels

    bugeasy difficultySmall, well-scoped implementation effort

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions