This commit is contained in:
Lunny Xiao 2022-11-12 10:29:07 +08:00
parent a7809284a6
commit 82751e797f
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -1016,7 +1016,7 @@ func TestGetBytesVars(t *testing.T) {
type MyID int64
var myID MyID
has, err = testEngine.Table("get_bytes_vars").Get(&myID)
has, err = testEngine.Table("get_bytes_vars").Select("id").Desc("id").Get(&myID)
assert.NoError(t, err)
assert.True(t, has)
assert.EqualValues(t, gbv.Id, myID)