summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/json/json_coder_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_coder_test.rb b/test/json/json_coder_test.rb
index 1f9bc814e3..47e12ff919 100755
--- a/test/json/json_coder_test.rb
+++ b/test/json/json_coder_test.rb
@@ -134,7 +134,7 @@ class JSONCoderTest < Test::Unit::TestCase
def test_depth
coder = JSON::Coder.new(object_nl: "\n", array_nl: "\n", space: " ", indent: " ", depth: 1)
- assert_equal %({\n "foo": 42\n}), coder.dump(foo: 42)
+ assert_equal %({\n "foo": 42\n }), coder.dump(foo: 42)
end
def test_nesting_recovery