diff options
author | Florian Frank <flori@ping.de> | 2011-11-09 01:53:01 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-11-09 23:21:40 +0100 |
commit | f1f0090a8b4bf3afd1f8e7d790236691386fd398 (patch) | |
tree | 118649d775a70f1089c9f0970fb2fa20db5ccc38 /tests | |
parent | a4e599122fc0a6b849350c7cf4aa0721b0d45c3c (diff) | |
download | json-f1f0090a8b4bf3afd1f8e7d790236691386fd398.tar.gz |
start to make buffer_initial_length configurable
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_json_generate.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_json_generate.rb b/tests/test_json_generate.rb index a528209..29ea7ce 100755 --- a/tests/test_json_generate.rb +++ b/tests/test_json_generate.rb @@ -208,6 +208,8 @@ EOT assert_equal 4096, s.buffer_initial_length s.buffer_initial_length = -1 assert_equal 4096, s.buffer_initial_length + s.buffer_initial_length = 128 + assert_equal 128, s.buffer_initial_length end def test_gc |