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
|
|
@ -111,7 +111,7 @@ func TestTaskAttachment_NewAttachment(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.Equal(t, testuser.ID, ta.File.CreatedByID)
|
||||
assert.Equal(t, "testfile", ta.File.Name)
|
||||
assert.Equal(t, int64(100), ta.File.Size)
|
||||
assert.Equal(t, uint64(100), ta.File.Size)
|
||||
|
||||
// Extra test for max size test
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue