| Age | Commit message (Collapse) | Author |
|
This reverts commit 0dc1cd407e7775610f2bcaef6c1282369867f91c.
1213adfe5526d65cce81a9fb127074130c8faea7 is fixed this issue.
|
|
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
|
|
```
1) Error:
JSONGenericObjectTest#test_from_hash:
Test::Unit::ProxyError: uninitialized constant JSON::GenericObject
/Users/hsbt/Documents/github.com/ruby/ruby/.ext/common/json/common.rb:1006:in 'JSON.const_missing'
/Users/hsbt/Documents/github.com/ruby/ruby/test/json/json_generic_object_test.rb:8:in 'JSONGenericObjectTest#setup'
```
|
|
https://github.com/ruby/json/commit/7a2a24d663
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12531
|
|
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
|
|
https://github.com/flori/json/commit/202ffe2335
|
|
to prevent them from conflicting with yarp/test_helper
|
|
upstream.
* test/json: merge original test files from json upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|