Skip to content

Commit

Permalink
gtk2 test: use do ... end for block
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 27, 2013
1 parent f0c8142 commit ffb6e8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gtk2/test/test_gtk_list_store.rb
Expand Up @@ -65,14 +65,14 @@ def test_set_values_with_hash

def test_iter_gc
iterator_count = ObjectSpace.to_enum(:each_object, Gtk::TreeIter).to_a.size
50.times{ |i|
50.times do |i|
iter = @store.append
iter[ID] = i
iter[NAME] = i.to_s
}
100.times{
end
100.times do
@store.iter_first
}
end
iter = @store.iter_first
while @store.remove(iter); end
iter = nil
Expand Down

0 comments on commit ffb6e8c

Please sign in to comment.