Skip useless test
`JSONGeneratorTest#test_remove_const_seg` is meaningful only for the extension library version, but nonsense for pure ruby version.
This commit is contained in:
parent
ba1cb388a9
commit
f83bebdf7a
@ -75,7 +75,7 @@ EOT
|
|||||||
silence do
|
silence do
|
||||||
JSON.const_set :SAFE_STATE_PROTOTYPE, const
|
JSON.const_set :SAFE_STATE_PROTOTYPE, const
|
||||||
end
|
end
|
||||||
end
|
end if JSON.const_defined?("Ext")
|
||||||
|
|
||||||
def test_generate
|
def test_generate
|
||||||
json = generate(@hash)
|
json = generate(@hash)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user