Fixed error when setting max file size on 32-Bit systems
This commit is contained in:
parent
2169464983
commit
b81cd6128a
19 changed files with 369 additions and 16 deletions
|
|
@ -66,7 +66,7 @@ func TestCreate(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.Equal(t, int64(1), file.CreatedByID)
|
||||
assert.Equal(t, "testfile", file.Name)
|
||||
assert.Equal(t, int64(100), file.Size)
|
||||
assert.Equal(t, uint64(100), file.Size)
|
||||
|
||||
})
|
||||
t.Run("Too Large", func(t *testing.T) {
|
||||
|
|
|
|||
Reference in a new issue