Skip to content

go: trim leading and trailing tabs#441

Merged
mpkorstanje merged 3 commits intomainfrom
trim-leading-and-trailing-tabs
Jul 27, 2025
Merged

go: trim leading and trailing tabs#441
mpkorstanje merged 3 commits intomainfrom
trim-leading-and-trailing-tabs

Conversation

@mpkorstanje
Copy link
Copy Markdown
Contributor

@mpkorstanje mpkorstanje commented Jul 27, 2025

⚡️ What's your motivation?

While the different implementations are a bit inconsistent about the
whitespace they trim from lines, they all trim space and tab characters.
Except go, which did not trim trailing tabs.

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@mpkorstanje mpkorstanje changed the title Trim leading and trailing tabs go: trim leading and trailing tabs Jul 27, 2025
@mpkorstanje mpkorstanje marked this pull request as ready for review July 27, 2025 13:32
@mpkorstanje mpkorstanje merged commit 4751e5c into main Jul 27, 2025
37 checks passed
@mpkorstanje mpkorstanje deleted the trim-leading-and-trailing-tabs branch July 27, 2025 13:33
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