Browse files

Consistent style.

  • Loading branch information...
1 parent c7982b4 commit 1198ef3b4d51ff06b78829ee88bff28891f04100 @xaviershay committed May 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 binary_heap.rb
View
3 binary_heap.rb
@@ -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

0 comments on commit 1198ef3

Please sign in to comment.