Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/core/enumerable/max_spec.rb
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@
end.should raise_error(ArgumentError)
end

it "returns the maximum element (with block" do
it "returns the maximum element (with block)" do
# with a block
EnumerableSpecs::EachDefiner.new("2","33","4","11").max {|a,b| a <=> b }.should == "4"
EnumerableSpecs::EachDefiner.new( 2 , 33 , 4 , 11 ).max {|a,b| a <=> b }.should == 33

0 comments on commit 1347d6d

Please sign in to comment.