removed incorrect, misleading comment

This commit is contained in:
Jim Menard 2008-12-09 15:16:25 -05:00
parent 89d8076d11
commit 2d751888e3

View File

@ -116,8 +116,7 @@ class DBAPITest < Test::Unit::TestCase
assert_equal 2, docs.size assert_equal 2, docs.size
assert_equal 2, docs.first['a'] assert_equal 2, docs.first['a']
# Sorting using array of names; assumes ascending order # Sorting using array of names; assumes ascending order.
# NOTE: Mongo itself does not yet properly sort by multiple names
docs = @coll.find({'a' => { '$lt' => 10 }}, :sort => ['a']).map docs = @coll.find({'a' => { '$lt' => 10 }}, :sort => ['a']).map
assert_equal 2, docs.size assert_equal 2, docs.size
assert_equal 1, docs.first['a'] assert_equal 1, docs.first['a']