Skip to content

Fix incorrect comment on "Gemfile" - #1027

Merged
PragTob merged 1 commit into
simplecov-ruby:mainfrom
nishidayuya:fix_comment_to_use_local_copy_of_simplecov-html
Dec 29, 2022
Merged

PragTob merged 1 commit into
simplecov-ruby:mainfrom
nishidayuya:fix_comment_to_use_local_copy_of_simplecov-html

Conversation

@nishidayuya

Copy link
Copy Markdown
Contributor

I uncommented https://github.com/simplecov-ruby/simplecov/blob/v0.21.2/Gemfile#L6 to run test with local copy of simplecov-html (currently main branch).

I saw following:

yuya@yoshiyuki|12:09:34|0% bundle
...
yuya@yoshiyuki|12:09:47|0% bundle exec rake
...
Inspecting 108 files
C...........................................................................................................

Offenses:

Gemfile:6:29: C: [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
gem "simplecov-html", path: File.dirname(__FILE__) + "/../simplecov-html"
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

108 files inspected, 1 offense detected, 1 offense auto-correctable
RuboCop failed!

This pull-request fixes it.

@PragTob

PragTob commented Dec 29, 2022

Copy link
Copy Markdown
Collaborator

Thank you!

IMG_20221030_083250

@PragTob
PragTob merged commit 216b2d5 into simplecov-ruby:main Dec 29, 2022
@nishidayuya
nishidayuya deleted the fix_comment_to_use_local_copy_of_simplecov-html branch January 8, 2023 08:50
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.

3 participants