summaryrefslogtreecommitdiffhomepage
path: root/test/stylesheet/tc_font.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/stylesheet/tc_font.rb')
-rw-r--r--test/stylesheet/tc_font.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stylesheet/tc_font.rb b/test/stylesheet/tc_font.rb
index fb52f846..821e8820 100644
--- a/test/stylesheet/tc_font.rb
+++ b/test/stylesheet/tc_font.rb
@@ -116,7 +116,7 @@ class TestFont < Test::Unit::TestCase
# def color=(v) DataTypeValidator.validate "Font.color", Color, v; @color=v end
def test_color
assert_raise(ArgumentError) { @item.color = -7 }
- assert_nothing_raised { @item.color = Axlsx::Color.new(:rgb=>"00000000") }
+ assert_nothing_raised { @item.color = Axlsx::Color.new(:rgb => "00000000") }
assert(@item.color.is_a?(Axlsx::Color))
end