Skip to content

Commit

Permalink
Merge pull request #496 from Shopify/allow-long-lines-on-test-names
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock authored Feb 9, 2023
2 parents f9e6764 + 1023d57 commit 53be4b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Layout/LineEndStringConcatenationIndentation:
Layout/LineLength:
AllowedPatterns:
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
- "\\A\\s*def test_\\w+\\s*\\Z"

Layout/MultilineArrayLineBreaks:
Enabled: true
Expand Down
1 change: 1 addition & 0 deletions test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@ Layout/LineLength:
IgnoreCopDirectives: true
AllowedPatterns:
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
- "\\A\\s*def test_\\w+\\s*\\Z"
IgnoredPatterns: []
Layout/MultilineArrayBraceLayout:
Description: Checks that the closing brace in an array literal is either on the
Expand Down

0 comments on commit 53be4b4

Please sign in to comment.