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

@ -35,7 +35,7 @@ func TestResize(t *testing.T) {
}
func TestConvert(t *testing.T) {
options := Options{Width: 640, Height: 480, Crop: false, Type: PNG}
options := Options{Width: 640, Height: 480, Crop: true, Type: PNG}
img, err := os.Open("fixtures/test.jpg")
if err != nil {
t.Fatal(err)