Skip to content

Commit

Permalink
Rename files for Style/Strip cop
Browse files Browse the repository at this point in the history
Follow up of ca0e4d3.

This PR fixes the following RuboCop offense.

```console
bundle exec rake internal_investigation

(snip)

Offenses:

spec/rubocop/cop/style/lstrip_rstrip_spec.rb:3:1: C: RSpec/FilePath:
Spec path should end with rubocop/cop/style/strip*_spec.rb.
RSpec.describe RuboCop::Cop::Style::Strip do
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1198 files inspected, 1 offense detected
RuboCop failed!
Exited with code 1
```

https://circleci.com/gh/rubocop-hq/rubocop/43960
  • Loading branch information
koic committed Apr 1, 2019
1 parent ca0e4d3 commit adbc960
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@
require_relative 'rubocop/cop/style/ip_addresses'
require_relative 'rubocop/cop/style/lambda'
require_relative 'rubocop/cop/style/lambda_call'
require_relative 'rubocop/cop/style/lstrip_rstrip'
require_relative 'rubocop/cop/style/line_end_concatenation'
require_relative 'rubocop/cop/style/method_call_without_args_parentheses'
require_relative 'rubocop/cop/style/method_call_with_args_parentheses'
Expand Down Expand Up @@ -529,6 +528,7 @@
require_relative 'rubocop/cop/style/string_literals'
require_relative 'rubocop/cop/style/string_literals_in_interpolation'
require_relative 'rubocop/cop/style/string_methods'
require_relative 'rubocop/cop/style/strip'
require_relative 'rubocop/cop/style/struct_inheritance'
require_relative 'rubocop/cop/style/symbol_array'
require_relative 'rubocop/cop/style/symbol_literal'
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit adbc960

Please sign in to comment.