diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-11-29 11:19:09 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-11-29 12:19:21 +0900 |
commit | 5a28298e4f4cbaaadc3fda8a25b4567becb685c0 (patch) | |
tree | 1bf19e0ce81082598ffb3feb0f693dff31693a6a /tests | |
parent | 619a85865db3714b989cbc8bc097af631cad9a9f (diff) | |
download | json-5a28298e4f4cbaaadc3fda8a25b4567becb685c0.tar.gz |
Skip useless test
`JSONGeneratorTest#test_remove_const_seg` is meaningful only for
the extension library version, but nonsense for pure ruby version.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/json_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json_generator_test.rb b/tests/json_generator_test.rb index 3d9ab7a..10cbcd1 100644 --- a/tests/json_generator_test.rb +++ b/tests/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) |