Test for sort by id

This commit is contained in:
Kovid Goyal 2013-08-30 08:50:41 +05:30
parent fd3978d9d1
commit 726e4cd5fc

View File

@ -150,6 +150,7 @@ class ReadingTest(BaseTest):
'#tags':[3, 2, 1],
'#yesno':[2, 1, 3],
'#comments':[3, 2, 1],
'id': [1, 2, 3],
}.iteritems():
x = list(reversed(order))
ae(order, cache.multisort([(field, True)],