diff options
| author | Andrew Konchin <andry.konchin@gmail.com> | 2024-07-01 15:38:25 +0300 |
|---|---|---|
| committer | Benoit Daloze <eregontp@gmail.com> | 2024-07-02 13:33:48 +0200 |
| commit | cee62c6738c42ce774e96e180cf2d46afb8e9cbe (patch) | |
| tree | 52a37ef94e90f99f8471dbba4d6659ca5dc6c532 /spec/ruby/core/array/plus_spec.rb | |
| parent | d7af8afe1b85b8de04cd77c673b0f6ef3f3627fa (diff) | |
Update to ruby/spec@f8987ac
Diffstat (limited to 'spec/ruby/core/array/plus_spec.rb')
| -rw-r--r-- | spec/ruby/core/array/plus_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/array/plus_spec.rb b/spec/ruby/core/array/plus_spec.rb index 635bd131c9..b7153fd3ef 100644 --- a/spec/ruby/core/array/plus_spec.rb +++ b/spec/ruby/core/array/plus_spec.rb @@ -21,7 +21,7 @@ describe "Array#+" do ([1, 2, 3] + obj).should == [1, 2, 3, "x", "y"] end - it "raises a Typeerror if the given argument can't be converted to an array" do + it "raises a TypeError if the given argument can't be converted to an array" do -> { [1, 2, 3] + nil }.should raise_error(TypeError) -> { [1, 2, 3] + "abc" }.should raise_error(TypeError) end |
