1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use ruby_bug guard

This commit is contained in:
Nobuyoshi Nakada 2019-05-08 15:45:13 +09:00
parent a7cbb65956
commit d736080c8b
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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