summaryrefslogtreecommitdiffhomepage
path: root/test/workbook/worksheet/tc_icon_set.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
committerGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
commit55526805cf28cc91a22df5811b26cd23bdefa8d3 (patch)
tree2cbc6403b385078b0ed5e275c49f0c60522bdd16 /test/workbook/worksheet/tc_icon_set.rb
parentacf00d356494ef504c3de0e4a0db6b25f2bd7636 (diff)
downloadcaxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.tar.gz
caxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.zip
Fix space-related offenses
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
Diffstat (limited to 'test/workbook/worksheet/tc_icon_set.rb')
-rw-r--r--test/workbook/worksheet/tc_icon_set.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/workbook/worksheet/tc_icon_set.rb b/test/workbook/worksheet/tc_icon_set.rb
index 483de228..3a4079bf 100644
--- a/test/workbook/worksheet/tc_icon_set.rb
+++ b/test/workbook/worksheet/tc_icon_set.rb
@@ -14,25 +14,25 @@ class TestIconSet < Test::Unit::TestCase
def test_icon_set
assert_raise(ArgumentError) { @icon_set.iconSet = "invalid_value" }
- assert_nothing_raised { @icon_set.iconSet = "5Rating"}
+ assert_nothing_raised { @icon_set.iconSet = "5Rating" }
assert_equal(@icon_set.iconSet, "5Rating")
end
def test_percent
assert_raise(ArgumentError) { @icon_set.percent = :invalid_type }
- assert_nothing_raised { @icon_set.percent = false}
+ assert_nothing_raised { @icon_set.percent = false }
assert_equal(@icon_set.percent, false)
end
def test_showValue
assert_raise(ArgumentError) { @icon_set.showValue = :invalid_type }
- assert_nothing_raised { @icon_set.showValue = false}
+ assert_nothing_raised { @icon_set.showValue = false }
assert_equal(@icon_set.showValue, false)
end
def test_reverse
assert_raise(ArgumentError) { @icon_set.reverse = :invalid_type }
- assert_nothing_raised { @icon_set.reverse = false}
+ assert_nothing_raised { @icon_set.reverse = false }
assert_equal(@icon_set.reverse, false)
end