Skip to content

Commit

Permalink
Remove duplicate assignment types in cond assign spec
Browse files Browse the repository at this point in the history
'all assignment types' already checked for += and -= above.
  • Loading branch information
biinari committed Aug 8, 2020
1 parent 1e4c878 commit 8966108
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -723,8 +723,6 @@
it_behaves_like('all assignment types', '>>=')
it_behaves_like('all assignment types', '||=')
it_behaves_like('all assignment types', '&&=')
it_behaves_like('all assignment types', '+=')
it_behaves_like('all assignment types', '-=')
it_behaves_like('all assignment types', '<<', add_parens: true)

it 'registers an offense for assignment in if elsif else' do
Expand Down

0 comments on commit 8966108

Please sign in to comment.