summaryrefslogtreecommitdiff
path: root/test/json/json_generator_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/json_generator_test.rb')
-rw-r--r--test/json/json_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_generator_test.rb b/test/json/json_generator_test.rb
index 3d9ab7a364..10cbcd1789 100644
--- a/test/json/json_generator_test.rb
+++ b/test/json/json_generator_test.rb
@@ -75,7 +75,7 @@ EOT
silence do
JSON.const_set :SAFE_STATE_PROTOTYPE, const
end
- end
+ end if JSON.const_defined?("Ext")
def test_generate
json = generate(@hash)