Style/EmptyCaseCondition removes comment between case and first when · Issue #6242 · rubocop/rubocop
Expected behavior def foo case # when bar ... when bar 2 end end Calling rubocop 1.rb -a --only=Style/EmptyCaseCondition shoud fix only branches Actual behavior Comment has gone def foo if bar 2 en...