1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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:
Nobuyoshi Nakada 2019-11-29 11:19:09 +09:00
parent ba1cb388a9
commit f83bebdf7a
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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)