remove test ; because rows are returned in an unspecified order

This commit is contained in:
maxin[马鑫] 2016-04-13 21:04:46 +08:00
parent 81c6c898cf
commit 9ce6dc4cdf
1 changed files with 0 additions and 1 deletions

View File

@ -970,7 +970,6 @@ func TestOne(t *testing.T) {
qs := dORM.QueryTable("user")
err := qs.One(&user)
throwFail(t, err)
throwFail(t, AssertIs(user.UserName, "slene"))
user = User{}
err = qs.OrderBy("Id").Limit(1).One(&user)