exercism / exercism/snippet-extractor

How to test for trailing whitespace?

Open
#65 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
1
Forks
29
Avg merge
1d 7h
Merged PRs (30d)
1

Description

In #62 I encountered a problem. I have a whitespace before comments (line comment 1, 2 and 3), but cannot write tests, because Rubocop complains during CI. Is this possible to:

* turn off Rubocop trailing whitespace check

or

* have snippet extractor cut trailing whitespace?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issue #62, the repository’s RuboCop configuration, and the snippet-extractor test setup. Decide whether intentional trailing whitespace should be allowed in tests or removed during extraction; done means the comment examples can be tested without CI complaints.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.