test/Struct.rb in rmagick-3.2.0 vs test/Struct.rb in rmagick-4.0.0
- old
+ new
@@ -11,10 +11,10 @@
end
def test_export_color_info
color = Magick.colors[0]
assert_instance_of(Magick::Color, color)
- assert_match(/name=.+, compliance=.+, color.red=.+, color.green=.+, color.blue=.+, color.opacity=.+/, color.to_s)
+ assert_match(/name=.+, compliance=.+, color.red=.+, color.green=.+, color.blue=.+, color.alpha=.+/, color.to_s)
end
def test_export_type_info
font = Magick.fonts[0]
assert_match(/^name=.+, description=.+, family=.+, style=.+, stretch=.+, weight=.+, encoding=.*, foundry=.*, format=.*$/, font.to_s)