test/unit/layout/test_format.rb in thinreports-0.9.1 vs test/unit/layout/test_format.rb in thinreports-0.10.0
- old
+ new
@@ -1,6 +1,6 @@
-# coding: utf-8
+# frozen_string_literal: true
require 'test_helper'
class Thinreports::Layout::TestFormat < Minitest::Test
include Thinreports::TestHelper
@@ -25,10 +25,10 @@
{ 'type'=> 'text-block', 'id'=> 'text_block', 'x'=> 100.0, 'y'=> 100.0 },
{ 'type'=> 'page-number', 'id'=> '', 'x'=> 100.0, 'y'=> 100.0 }
]
}
- Shape = Thinreports::Core::Shape
+ Shape = Thinreports::Core::Shape
Layout = Thinreports::Layout
def test_attribute_readers
format = Layout::Format.new(layout_schema)