1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2018-03-04 15:09:32 +00:00
parent 8a15857a7f
commit 401b64c4e8
3689 changed files with 6095 additions and 6096 deletions

View file

@ -1,5 +1,5 @@
require File.expand_path('../../spec_helper', __FILE__)
require File.expand_path('../fixtures/defined', __FILE__)
require_relative '../spec_helper'
require_relative 'fixtures/defined'
describe "The defined? keyword for literals" do
it "returns 'self' for self" do
@ -763,8 +763,10 @@ describe "The defined? keyword for a scoped constant" do
end
ruby_version_is "2.5" do
it "returns nil when a constant is defined on top-level but not on the class" do
defined?(DefinedSpecs::Basic::String).should be_nil
ruby_bug "#14407", "2.5.0"..."2.5.1" do
it "returns nil when a constant is defined on top-level but not on the class" do
defined?(DefinedSpecs::Basic::String).should be_nil
end
end
end