summaryrefslogtreecommitdiffhomepage
path: root/test/stylesheet/tc_color.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/stylesheet/tc_color.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/stylesheet/tc_color.rb')
-rw-r--r--test/stylesheet/tc_color.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/stylesheet/tc_color.rb b/test/stylesheet/tc_color.rb
index 1fff4c3b..8f87111e 100644
--- a/test/stylesheet/tc_color.rb
+++ b/test/stylesheet/tc_color.rb
@@ -17,13 +17,13 @@ class TestColor < Test::Unit::TestCase
def test_auto
assert_raise(ArgumentError) { @item.auto = -1 }
assert_nothing_raised { @item.auto = true }
- assert_equal(@item.auto, true )
+ assert_equal(@item.auto, true)
end
def test_rgb
assert_raise(ArgumentError) { @item.rgb = -1 }
assert_nothing_raised { @item.rgb = "FF00FF00" }
- assert_equal(@item.rgb, "FF00FF00" )
+ assert_equal(@item.rgb, "FF00FF00")
end
def test_rgb_writer_doesnt_mutate_its_argument
@@ -35,6 +35,6 @@ class TestColor < Test::Unit::TestCase
def test_tint
assert_raise(ArgumentError) { @item.tint = -1 }
assert_nothing_raised { @item.tint = -1.0 }
- assert_equal(@item.tint, -1.0 )
+ assert_equal(@item.tint, -1.0)
end
end