Fix: able to upload empty file

This commit is contained in:
HFO4
2019-11-23 15:37:13 +08:00
parent 948059ec1c
commit 671d031d00
6 changed files with 45 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import (
func TestFileSystem_AddFile(t *testing.T) {
asserts := assert.New(t)
file := local.FileData{
file := local.FileStream{
Size: 5,
Name: "1.txt",
}