test(web/file/fs): check Size on fileinfo
continuous-integration/drone the build was successful Details

This commit is contained in:
Martin 2021-07-30 18:07:59 +02:00
parent 81bfb1154d
commit 3e90199d98
No known key found for this signature in database
GPG Key ID: 88B64E3BE097CFAC
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ func TestOpenStat(t *testing.T) {
assert.Equal(uuid.MustParse("d2750ced-4bdc-41d0-8c2f-5b9de44b84ef"), fi.(file.FileInfo).ID())
assert.Equal("text/plain", fi.(file.FileInfo).ContentType())
assert.Equal("glenda", fi.Name())
assert.Equal(int64(99), fi.Size())
}
func TestCreateOpenUUIDRead(t *testing.T) {