Test: tasks pkg

This commit is contained in:
HFO4
2021-11-20 17:14:45 +08:00
parent 9056ef9171
commit 96b84bb5e5
7 changed files with 44 additions and 12 deletions

View File

@@ -144,7 +144,7 @@ func TestCompressTask_Do(t *testing.T) {
task.Do()
asserts.NoError(mock.ExpectationsWereMet())
asserts.NotEmpty(task.GetError().Msg)
asserts.True(util.IsEmpty("test/compress"))
asserts.True(util.IsEmpty(util.RelativePath("test/compress")))
}
}