1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed typo in ArrayField test name.

This commit is contained in:
Tim Graham 2024-12-12 20:51:33 -05:00 committed by Sarah Boyce
parent 6f38697f90
commit 78a55a04c9

View File

@ -547,7 +547,7 @@ class TestQuerying(PostgreSQLTestCase):
NullableIntegerArrayModel.objects.filter(field__0_2=[2, 3]), self.objs[2:3] NullableIntegerArrayModel.objects.filter(field__0_2=[2, 3]), self.objs[2:3]
) )
def test_order_by_slice(self): def test_order_by_index(self):
more_objs = ( more_objs = (
NullableIntegerArrayModel.objects.create(field=[1, 637]), NullableIntegerArrayModel.objects.create(field=[1, 637]),
NullableIntegerArrayModel.objects.create(field=[2, 1]), NullableIntegerArrayModel.objects.create(field=[2, 1]),