ruby-changes:48817
From: nobu <ko1@a...>
Date: Wed, 29 Nov 2017 19:38:41 +0900 (JST)
Subject: [ruby-changes:48817] nobu:r60934 (trunk): spec/ruby/optional/capi/constants_spec.rb: Data is deprecated now
nobu 2017-11-29 19:38:36 +0900 (Wed, 29 Nov 2017) New Revision: 60934 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60934 Log: spec/ruby/optional/capi/constants_spec.rb: Data is deprecated now Modified files: trunk/spec/ruby/optional/capi/constants_spec.rb Index: spec/ruby/optional/capi/constants_spec.rb =================================================================== --- spec/ruby/optional/capi/constants_spec.rb (revision 60933) +++ spec/ruby/optional/capi/constants_spec.rb (revision 60934) @@ -25,8 +25,10 @@ describe "C-API constant" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/optional/capi/constants_spec.rb#L25 @s.rb_mComparable.should == Comparable end - specify "rb_cData references the Data class" do - @s.rb_cData.should == Data + ruby_version_is ""..."2.5" do + specify "rb_cData references the Data class" do + @s.rb_cData.should == Data + end end specify "rb_mEnumerable references the Enumerable module" do -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/