test/hexapdf/layout/test_style.rb in hexapdf-0.24.2 vs test/hexapdf/layout/test_style.rb in hexapdf-0.25.0
- old
+ new
@@ -669,9 +669,10 @@
it "has several simple and dynamically generated properties with default values" do
@style = HexaPDF::Layout::Style.new
assert_raises(HexaPDF::Error) { @style.font }
assert_equal(10, @style.font_size)
+ assert_nil(@style.line_height)
assert_equal(0, @style.character_spacing)
assert_equal(0, @style.word_spacing)
assert_equal(100, @style.horizontal_scaling)
assert_equal(0, @style.text_rise)
assert_equal({}, @style.font_features)