mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@b0b7f53
This commit is contained in:
parent
acbe7aa197
commit
6d05967468
27 changed files with 703 additions and 76 deletions
|
@ -90,7 +90,7 @@ describe "Array#flatten" do
|
|||
ArraySpecs::MyArray[].flatten.should be_an_instance_of(Array)
|
||||
ArraySpecs::MyArray[1, 2, 3].flatten.should be_an_instance_of(Array)
|
||||
ArraySpecs::MyArray[1, [2], 3].flatten.should be_an_instance_of(Array)
|
||||
ArraySpecs::MyArray[1, [2, 3], 4].flatten.should == Array[1, 2, 3, 4]
|
||||
ArraySpecs::MyArray[1, [2, 3], 4].flatten.should == [1, 2, 3, 4]
|
||||
[ArraySpecs::MyArray[1, 2, 3]].flatten.should be_an_instance_of(Array)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue