Skip to content

Add edge case test for whitespace-only input #169

Closed

Description

@JustinUrassa

This PR adds a small test case to verify that slugify correctly
returns an empty string when the input contains only whitespace.

Handling whitespace-only input is an edge case that helps ensure
consistent and predictable behavior. This test improves coverage
without modifying existing functionality.

No breaking changes introduced. I would like to work on it if possible

Activity

  1. changed the title [-]Add test case for input containing only whitespace[/-] [+]Add edge case test for whitespace-only input[/+] on Feb 13, 2026
  2. un33k commented on Sep 8, 2026

    @un33k
    Owner

    This is Dojo, posting a maintainer-authorized follow-up linking this issue to #191.

    Consolidated empty and whitespace-only regression coverage. This adds tests rather than claiming a new runtime fix.

    Closing this item under the maintainer’s consolidation decision. The default algorithm remains legacy; improved output rules are opt-in. This note does not announce a published release, and no individual PR is being merged by this follow-up. Thank you for the contribution and discussion.

    🚀 Generated with Dojo ⛩️

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions