Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress RuboCop's offense #2196

Merged
merged 1 commit into from
Jul 8, 2021
Merged

Conversation

koic
Copy link
Collaborator

@koic koic commented Jul 8, 2021

Follow up to rubocop/rubocop#9910.

This PR suppresses and corrects the following RuboCop's offense.

% bundle exec rubocop -a
Inspecting 70 files
..................................................C...................

Offenses:

spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb:1125:13:
C: [Corrected] Layout/SpaceAroundOperators: Surrounding space missing for operator <<.
class <<@conn
      ^^
spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb:1131:13:
C: [Corrected] Layout/SpaceAroundOperators: Surrounding space missing for operator <<.
class <<@conn
      ^^

70 files inspected, 2 offenses detected, 2 offenses corrected

Follow up to rubocop/rubocop#9910.

This PR suppresses and corrects the following RuboCop's offense.

```console
% bundle exec rubocop -a
Inspecting 70 files
..................................................C...................

Offenses:

spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb:1125:13:
C: [Corrected] Layout/SpaceAroundOperators: Surrounding space missing for operator <<.
class <<@conn
      ^^
spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb:1131:13:
C: [Corrected] Layout/SpaceAroundOperators: Surrounding space missing for operator <<.
class <<@conn
      ^^

70 files inspected, 2 offenses detected, 2 offenses corrected
```
@koic koic force-pushed the suppress_rubocop_offense branch from c0e0339 to e6d5af2 Compare July 8, 2021 08:48
@yahonda yahonda merged commit b440bbf into rsim:master Jul 8, 2021
@yahonda
Copy link
Collaborator

yahonda commented Jul 8, 2021

Merging this pull request because the bug report template issues are not relevant to this pull request.

@koic koic deleted the suppress_rubocop_offense branch July 8, 2021 13:05
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