We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a94b5 commit 07ebd2bCopy full SHA for 07ebd2b
vision/face-detection/src/test/java/com/google/cloud/vision/samples/facedetect/FaceDetectAppIT.java
@@ -50,7 +50,6 @@ public class FaceDetectAppIT {
50
51
assertThat(faces).named("face.jpg faces").isNotEmpty();
52
assertThat(faces.get(0).getFdBoundingPoly().getVertices())
53
- .named("face.jpg face #0 FdBoundingPoly Vertices")
54
.isNotEmpty();
55
}
56
@@ -59,9 +58,7 @@ public class FaceDetectAppIT {
59
58
appUnderTest.detectFaces(Paths.get("data/bad.txt"), MAX_RESULTS);
60
fail("Expected IOException");
61
} catch (IOException expected) {
62
- assertThat(expected.getMessage().toLowerCase())
63
- .named("IOException message")
64
- .contains("malformed request");
+ assertThat(expected.getMessage()).isNotEmpty();
65
66
67
0 commit comments