removed incorrect, misleading comment
This commit is contained in:
parent
89d8076d11
commit
2d751888e3
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue