puppetlabs / ruby-hocon

A Ruby port of the Typesafe Config library.
Apache License 2.0
34 stars 30 forks source link

(MAINT) Add empty document insertion test #55

Closed MSLilah closed 9 years ago

MSLilah commented 9 years ago

Add a test for insertion into an empty ConfigDocument.

I decided to add this because it's a valid use case (we're using it in the hocon module) and because it's broken in the upstream

MSLilah commented 9 years ago

I am adding tests/fixes for any bugs I find while working on the puppetlabs-hocon module to this branch, although I don't anticipate to find anymore at this point.

jpinsonault commented 9 years ago

Looks good :+1: