mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 07:28:44 -07:00
fix(crop): tests
This commit is contained in:
parent
2e90c11e5b
commit
03f08422d8
8 changed files with 86 additions and 17 deletions
|
|
@ -16,7 +16,7 @@ func TestImageResize(t *testing.T) {
|
|||
|
||||
func TestImageCrop(t *testing.T) {
|
||||
image := readImage()
|
||||
_, err := image.Crop(300, 240)
|
||||
_, err := image.Crop(800, 600)
|
||||
if err != nil {
|
||||
t.Errorf("Cannot process the image: %#v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue