ruby-changes:70883
From: Kazuhiro <ko1@a...>
Date: Sat, 15 Jan 2022 13:32:19 +0900 (JST)
Subject: [ruby-changes:70883] 2dc365db79 (master): Fix spec failures on ruby 3.1
https://git.ruby-lang.org/ruby.git/commit/?id=2dc365db79 From 2dc365db79e46daaf415c4fcabeab540ec43e92e Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Sat, 15 Jan 2022 13:30:20 +0900 Subject: Fix spec failures on ruby 3.1 Because Module#const_added is ruby 3.2 feature --- spec/ruby/core/module/const_added_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/core/module/const_added_spec.rb b/spec/ruby/core/module/const_added_spec.rb index ff2ee0987fb..bf1718f940b 100644 --- a/spec/ruby/core/module/const_added_spec.rb +++ b/spec/ruby/core/module/const_added_spec.rb @@ -2,7 +2,7 @@ require_relative '../../spec_helper' https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/module/const_added_spec.rb#L2 require_relative 'fixtures/classes' describe "Module#const_added" do - ruby_version_is "3.1" do + ruby_version_is "3.2" do it "is a private instance method" do Module.should have_private_instance_method(:const_added) end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/