ruby-changes:58953
From: Nobuyoshi <ko1@a...>
Date: Fri, 29 Nov 2019 11:23:26 +0900 (JST)
Subject: [ruby-changes:58953] f83bebdf7a (master): Skip useless test
https://git.ruby-lang.org/ruby.git/commit/?id=f83bebdf7a From f83bebdf7a76e1ade3c5dc9d54cbffb9f761b453 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 29 Nov 2019 11:19:09 +0900 Subject: Skip useless test `JSONGeneratorTest#test_remove_const_seg` is meaningful only for the extension library version, but nonsense for pure ruby version. diff --git a/test/json/json_generator_test.rb b/test/json/json_generator_test.rb index 3d9ab7a..10cbcd1 100644 --- a/test/json/json_generator_test.rb +++ b/test/json/json_generator_test.rb @@ -75,7 +75,7 @@ EOT https://github.com/ruby/ruby/blob/trunk/test/json/json_generator_test.rb#L75 silence do JSON.const_set :SAFE_STATE_PROTOTYPE, const end - end + end if JSON.const_defined?("Ext") def test_generate json = generate(@hash) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/