diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2025-09-15 16:26:43 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-09-16 17:17:32 +0900 |
| commit | 1213adfe5526d65cce81a9fb127074130c8faea7 (patch) | |
| tree | b34a6832586f8f246e991fe57722783eacd6722c /test/ruby/test_float.rb | |
| parent | db027afebd3ee8ef3fd70ffea2ef7756f48003ce (diff) | |
[ruby/json] Better handle missing ostruct
In the Ruby test suite, this test class is causing trouble because
ostruct is not available. Having an autoload for JSON::GenericObject but
causing it not to define the constant causes a warning.
See https://github.com/ruby/json/commit/0dc1cd407e77 and
https://github.com/ruby/json/commit/caa5d8cdd748 in ruby.
We can skip defining the test class entirely instead when ostruct is not
available.
https://github.com/ruby/json/commit/6f6a4cdfd7
Diffstat (limited to 'test/ruby/test_float.rb')
0 files changed, 0 insertions, 0 deletions
