Skip to content

Commit

Permalink
Merge pull request #364 from GoogleCloudPlatform/tswast-more-vision
Browse files Browse the repository at this point in the history
One more vision API test to fix.
  • Loading branch information
tswast authored Oct 11, 2016
2 parents 1261451 + 07ebd2b commit 7e8ca22
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public class FaceDetectAppIT {

assertThat(faces).named("face.jpg faces").isNotEmpty();
assertThat(faces.get(0).getFdBoundingPoly().getVertices())
.named("face.jpg face #0 FdBoundingPoly Vertices")
.isNotEmpty();
}

Expand All @@ -59,9 +58,7 @@ public class FaceDetectAppIT {
appUnderTest.detectFaces(Paths.get("data/bad.txt"), MAX_RESULTS);
fail("Expected IOException");
} catch (IOException expected) {
assertThat(expected.getMessage().toLowerCase())
.named("IOException message")
.contains("malformed request");
assertThat(expected.getMessage()).isNotEmpty();
}
}
}

0 comments on commit 7e8ca22

Please sign in to comment.