Skip to content

test: add edge case test for whitespace-only input - #170

Closed
JustinUrassa wants to merge 1 commit into
un33k:masterfrom
JustinUrassa:test-whitespace-input
Closed

JustinUrassa wants to merge 1 commit into
un33k:masterfrom
JustinUrassa:test-whitespace-input

Conversation

@JustinUrassa

Copy link
Copy Markdown

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.

@un33k

un33k commented Sep 8, 2026

Copy link
Copy Markdown
Owner

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

Whitespace regression coverage is consolidated with #174 and #188 in #191; this standalone PR is superseded.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants