Skip to content

test: add whitespace-only line case for string reverser - #400

Open
Andreaband wants to merge 1 commit into
iib0011:mainfrom
Andreaband:test/string-reverser-whitespace
Open

test: add whitespace-only line case for string reverser#400
Andreaband wants to merge 1 commit into
iib0011:mainfrom
Andreaband:test/string-reverser-whitespace

Conversation

@Andreaband

Copy link
Copy Markdown

Adds a test case for the string reverser service to document the current behavior when processing whitespace-only lines with emptyItems enabled and trim disabled.

This helps cover an edge case without changing the existing implementation.

Tested with: npx vitest run src/pages/tools/string/reverse/reverse.service.test.ts

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.

1 participant