summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3d9ab7a364d..10cbcd1789b 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)