run the test twice for debugging
This commit is contained in:
parent
8b9bcb1e63
commit
5921fabfa4
|
@ -48,6 +48,14 @@ class CursorTest < Test::Unit::TestCase
|
|||
@@coll.find.each { |obj|
|
||||
count += obj['a']
|
||||
}
|
||||
|
||||
# do the same thing again for debugging
|
||||
count2 = 0
|
||||
@@coll.find.each { |obj|
|
||||
count2 += obj['a']
|
||||
}
|
||||
|
||||
assert_equal count, count2
|
||||
assert_equal 499501, count
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue