This commit is contained in:
jianzhiyao 2021-03-08 17:31:46 +08:00
parent 82c4d4e134
commit 82b20c585e

View File

@ -1286,7 +1286,7 @@ func TestValuesList(t *testing.T) {
throwFail(t, AssertIs(num, 3)) throwFail(t, AssertIs(num, 3))
if num == 3 { if num == 3 {
throwFail(t, AssertIs(list[0][1], "slene")) throwFail(t, AssertIs(list[0][1], "slene"))
throwFail(t, AssertIs(list[2][9], nil)) throwFail(t, AssertIs(list[2][11], nil))
} }
num, err = qs.OrderBy("Id").ValuesList(&list, "UserName", "Profile__Age") num, err = qs.OrderBy("Id").ValuesList(&list, "UserName", "Profile__Age")