Permalink
Browse files

Update heap_spec.rb

unnecessary variable x removed.
  • Loading branch information...
1 parent 8253fc6 commit ab355415afe39a905e34906ccf10716ddca55b81 @ysksn ysksn committed Aug 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/heap_spec.rb
View
@@ -38,7 +38,7 @@
before(:each) do
@random_array = []
@num_items = 100
- @num_items.times { |x| @random_array << rand(@num_items) }
+ @num_items.times { @random_array << rand(@num_items) }
@heap = Containers::MaxHeap.new(@random_array)
end

0 comments on commit ab35541

Please sign in to comment.