From 70b011eef76af3d0fe4eb587ef5d80b43fff4e12 Mon Sep 17 00:00:00 2001 From: jianzhiyao Date: Mon, 8 Mar 2021 17:47:48 +0800 Subject: [PATCH] fix UT --- client/orm/orm_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/orm/orm_test.go b/client/orm/orm_test.go index 32040028..f6e7a841 100644 --- a/client/orm/orm_test.go +++ b/client/orm/orm_test.go @@ -1285,8 +1285,8 @@ func TestValuesList(t *testing.T) { throwFail(t, err) throwFail(t, AssertIs(num, 3)) if num == 3 { - throwFail(t, AssertIs(list[0][1], "slene")) - throwFail(t, AssertIs(list[2][11], nil)) + throwFail(t, AssertIs(list[0][1], "slene")) //username + throwFail(t, AssertIs(list[2][10], nil)) //profile } num, err = qs.OrderBy("Id").ValuesList(&list, "UserName", "Profile__Age")