Sha256: 2c0b4a532f0b066f486249e2f377fccb7a516c5814a76cfdfe05d5e3b161cd8f

Contents?: true

Size: 570 Bytes

Versions: 10

Compression:

Stored size: 570 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
danger-wcc-0.1.4 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.1.3 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.1.2 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.1.1 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.1.0 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.0.6 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.0.5 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.0.4 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.0.3 spec/fixtures/exception_multiline_context.diff
danger-wcc-0.0.2 spec/fixtures/exception_multiline_context.diff