fix(crop): tests

This commit is contained in:
Tomas Aparicio 2015-04-06 02:59:29 +02:00
parent 2e90c11e5b
commit 03f08422d8
8 changed files with 86 additions and 17 deletions

View file

@ -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)
}