diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-08 15:45:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-08 15:45:13 +0900 |
commit | d736080c8b8731fe8e7be99893eea35b67cbbc0e (patch) | |
tree | 00ba517f37bc1255ec1eeab1ed3369ac0a5f5325 /spec | |
parent | a7cbb659566b4b9114cc2a00f036e7a88300b30d (diff) | |
download | ruby-d736080c8b8731fe8e7be99893eea35b67cbbc0e.tar.gz |
Use ruby_bug guard
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/module/autoload_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/autoload_spec.rb b/spec/ruby/core/module/autoload_spec.rb index f3066de586..eaad4b8df6 100644 --- a/spec/ruby/core/module/autoload_spec.rb +++ b/spec/ruby/core/module/autoload_spec.rb @@ -449,7 +449,7 @@ describe "Module#autoload" do it "does not load the file when accessing the constants table of the module" do ModuleSpecs::Autoload.autoload :P, @non_existent ModuleSpecs::Autoload.const_defined?(:P).should be_true - ruby_version_is "2.7" do + ruby_bug "[Bug #15780]", ""..."2.7" do ModuleSpecs::Autoload.const_defined?("P").should be_true end end |