test/toml_examples.rb in toml-rb-1.0.0 vs test/toml_examples.rb in toml-rb-1.1.0
- old
+ new
@@ -160,10 +160,15 @@
'amqp' => {
'exchange' => {
'durable' => true,
'auto_delete' => false
}
- }
+ },
+ "products" => [
+ { "name" => "Hammer", "sku" => 738_594_937 },
+ {},
+ { "name" => "Nail", "sku" => 284_758_393, "color" => "gray" }
+ ]
}
end
def self.hard_example
{