fix UT
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user