diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-17 11:22:43 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-17 11:22:43 +0000 |
commit | 1630728e9d83e4b2f4fc2f772cd6a953156b3614 (patch) | |
tree | 5acc0a9cd08a2112f0f64af5cc62d20545b00774 /spec/ruby/language/method_spec.rb | |
parent | f3b347e109f42f53ffc30f9e6e10be4b4f285916 (diff) | |
download | ruby-1630728e9d83e4b2f4fc2f772cd6a953156b3614.tar.gz |
Fix typo in version guard
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/language/method_spec.rb')
-rw-r--r-- | spec/ruby/language/method_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/language/method_spec.rb b/spec/ruby/language/method_spec.rb index 2865ec3467..96abbc649d 100644 --- a/spec/ruby/language/method_spec.rb +++ b/spec/ruby/language/method_spec.rb @@ -839,7 +839,7 @@ describe "A method" do 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 |