test/compiler_test.rb in json_builder-3.1.0 vs test/compiler_test.rb in json_builder-3.1.1

- old
+ new

@@ -92,6 +92,12 @@ def test_adding_unicoded_key assert_builder_json('{"é": "json"}') do key 'é', 'json' end end + + def test_newline_characters + assert_builder_json('{"newline": "hello\nworld"}') do + newline "hello\nworld" + end + end end