diff --git a/spec/fixtures/rubocop_exception.rb b/spec/fixtures/rubocop_exception.rb index 0406593..c59d48e 100644 --- a/spec/fixtures/rubocop_exception.rb +++ b/spec/fixtures/rubocop_exception.rb @@ -25,4 +25,15 @@ module RubocopException def some_method_with_existing_comments end # rubocop:enable Metrics/ABC + + def some_method_with_multiline_context + # rubocop:disable Layout/AlignHash + # I want to disable this because.. + # I forgot the reasons. + { + a: 'a', + b: 'b' + } + # rubocop:enable Layout/AlignHash + end end