test/test_builder.rb in trenni-1.0.3 vs test/test_builder.rb in trenni-1.0.4

- old
+ new

@@ -99,7 +99,11 @@ def test_attributes_order builder = Trenni::Builder.new(:strict => true) builder.tag :t, [[:a, 10], [:b, 20]] assert_equal %Q{<t a="10" b="20"/>}, builder.output.string + + builder = Trenni::Builder.new(:strict => true) + builder.tag :t, :b => 20, :a => 10 + assert_equal %Q{<t a="10" b="20"/>}, builder.output.string end end