Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Consistent style.

  • Loading branch information...
commit 1198ef3b4d51ff06b78829ee88bff28891f04100 1 parent c7982b4
Xavier Shay authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  binary_heap.rb
3  binary_heap.rb
View
@@ -183,8 +183,7 @@ def initialize
it 'allows duplicate values' do
heap = MaxHeap.new
- heap << 1
- heap << 1
+ heap << 1 << 1
heap.pop.should == 1
heap.pop.should == 1
end
Please sign in to comment.
Something went wrong with that request. Please try again.