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:
parent
a7cbb65956
commit
d736080c8b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue