diff options
Diffstat (limited to 'spec/ruby/core/kernel')
| -rw-r--r-- | spec/ruby/core/kernel/caller_locations_spec.rb | 4 | ||||
| -rw-r--r-- | spec/ruby/core/kernel/caller_spec.rb | 4 | ||||
| -rw-r--r-- | spec/ruby/core/kernel/inspect_spec.rb | 2 | ||||
| -rw-r--r-- | spec/ruby/core/kernel/require_spec.rb | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/spec/ruby/core/kernel/caller_locations_spec.rb b/spec/ruby/core/kernel/caller_locations_spec.rb index 6074879d59..a917dba504 100644 --- a/spec/ruby/core/kernel/caller_locations_spec.rb +++ b/spec/ruby/core/kernel/caller_locations_spec.rb @@ -83,7 +83,7 @@ describe 'Kernel#caller_locations' do end end - ruby_version_is "3.4"..."3.5" do + ruby_version_is "3.4"..."4.0" do it "includes core library methods defined in Ruby" do file, line = Kernel.instance_method(:tap).source_location file.should.start_with?('<internal:') @@ -95,7 +95,7 @@ describe 'Kernel#caller_locations' do end end - ruby_version_is "3.5" do + ruby_version_is "4.0" do it "does not include core library methods defined in Ruby" do file, line = Kernel.instance_method(:tap).source_location file.should.start_with?('<internal:') diff --git a/spec/ruby/core/kernel/caller_spec.rb b/spec/ruby/core/kernel/caller_spec.rb index 4bf9f7c2c2..7cd703de5a 100644 --- a/spec/ruby/core/kernel/caller_spec.rb +++ b/spec/ruby/core/kernel/caller_spec.rb @@ -84,7 +84,7 @@ describe 'Kernel#caller' do end guard -> { Kernel.instance_method(:tap).source_location } do - ruby_version_is ""..."3.5" do + ruby_version_is ""..."4.0" do it "includes core library methods defined in Ruby" do file, line = Kernel.instance_method(:tap).source_location file.should.start_with?('<internal:') @@ -95,7 +95,7 @@ describe 'Kernel#caller' do end end - ruby_version_is "3.5" do + ruby_version_is "4.0" do it "includes core library methods defined in Ruby" do file, line = Kernel.instance_method(:tap).source_location file.should.start_with?('<internal:') diff --git a/spec/ruby/core/kernel/inspect_spec.rb b/spec/ruby/core/kernel/inspect_spec.rb index e60f7576c5..6ecf1e1c8c 100644 --- a/spec/ruby/core/kernel/inspect_spec.rb +++ b/spec/ruby/core/kernel/inspect_spec.rb @@ -29,7 +29,7 @@ describe "Kernel#inspect" do obj.inspect.should be_kind_of(String) end - ruby_version_is "3.5" do + ruby_version_is "4.0" do it "calls #instance_variables_to_inspect private method to know which variables to display" do obj = Object.new obj.instance_eval do diff --git a/spec/ruby/core/kernel/require_spec.rb b/spec/ruby/core/kernel/require_spec.rb index d680859dd6..60d17242fe 100644 --- a/spec/ruby/core/kernel/require_spec.rb +++ b/spec/ruby/core/kernel/require_spec.rb @@ -17,7 +17,7 @@ describe "Kernel#require" do end provided = %w[complex enumerator fiber rational thread ruby2_keywords] - ruby_version_is "3.5" do + ruby_version_is "4.0" do provided << "set" provided << "pathname" end @@ -33,7 +33,7 @@ describe "Kernel#require" do features.sort.should == provided.sort requires = provided - ruby_version_is "3.5" do + ruby_version_is "4.0" do requires = requires.map { |f| f == "pathname" ? "pathname.so" : f } end |
