Simplify thumbnail resizing logic to ensure target constraints are respected (#28012)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8c5f00da86
Коммит
70dc4888fd
@@ -396,7 +396,7 @@ func TestGenerateThumbnailImage(t *testing.T) {
|
||||
// then
|
||||
outputImage, err := os.Stat(thumbnailPath)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, int64(957), outputImage.Size())
|
||||
assert.Equal(t, int64(721), outputImage.Size())
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user