ruby-changes:52204
From: eregon <ko1@a...>
Date: Fri, 17 Aug 2018 20:22:47 +0900 (JST)
Subject: [ruby-changes:52204] eregon:r64412 (trunk): Fix typo in version guard
eregon 2018-08-17 20:22:43 +0900 (Fri, 17 Aug 2018) New Revision: 64412 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64412 Log: Fix typo in version guard Modified files: trunk/spec/ruby/language/method_spec.rb Index: spec/ruby/language/method_spec.rb =================================================================== --- spec/ruby/language/method_spec.rb (revision 64411) +++ spec/ruby/language/method_spec.rb (revision 64412) @@ -839,7 +839,7 @@ describe "A method" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/language/method_spec.rb#L839 ruby_version_is ""..."2.6" do m("a" => 1, b: 2).should == [{"a" => 1}, 2] end - ruby_version_is ""..."2.6" do + ruby_version_is "2.6" do lambda {m("a" => 1, b: 2)}.should raise_error(ArgumentError) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/