summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml9
-rw-r--r--test/drawing/tc_d_lbls.rb2
2 files changed, 1 insertions, 10 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 8f18d44c..34cfa002 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -210,15 +210,6 @@ Layout/SpaceInsideParens:
Enabled: false
# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBrackets: space, no_space
-Layout/SpaceInsideReferenceBrackets:
- Exclude:
- - 'test/drawing/tc_d_lbls.rb'
-
-# Offense count: 1
Lint/AmbiguousAssignment:
Exclude:
- 'test/workbook/worksheet/tc_rich_text.rb'
diff --git a/test/drawing/tc_d_lbls.rb b/test/drawing/tc_d_lbls.rb
index 60efeb7b..cc12b561 100644
--- a/test/drawing/tc_d_lbls.rb
+++ b/test/drawing/tc_d_lbls.rb
@@ -22,7 +22,7 @@ class TestDLbls < Test::Unit::TestCase
def test_initialization_with_optoins
- options_hash = Hash[*[@boolean_attributes.map { |name| [name, true] }] ]
+ options_hash = Hash[*[@boolean_attributes.map { |name| [name, true] }]]
d_lbls = Axlsx::DLbls.new(Axlsx::Pie3DChart, options_hash.merge( { :d_lbl_pos => :t }))