Skip to content

hamming: Empty strand errors don't make sense #1521

@m-dango

Description

@m-dango

canonical-data requires an error message stating left/right strand must not be empty, however this doesn't make sense due to the following:

  1. There is an existing test case with both strands being empty as valid.
  2. There is an existing test case for returning an error if the strands differ in length.

The error only applies if your input is already erroneous.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions