File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
vision/face-detection/src/test/java/com/google/cloud/vision/samples/facedetect Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ public class FaceDetectAppIT {
50
50
51
51
assertThat (faces ).named ("face.jpg faces" ).isNotEmpty ();
52
52
assertThat (faces .get (0 ).getFdBoundingPoly ().getVertices ())
53
- .named ("face.jpg face #0 FdBoundingPoly Vertices" )
54
53
.isNotEmpty ();
55
54
}
56
55
@@ -59,9 +58,7 @@ public class FaceDetectAppIT {
59
58
appUnderTest .detectFaces (Paths .get ("data/bad.txt" ), MAX_RESULTS );
60
59
fail ("Expected IOException" );
61
60
} catch (IOException expected ) {
62
- assertThat (expected .getMessage ().toLowerCase ())
63
- .named ("IOException message" )
64
- .contains ("malformed request" );
61
+ assertThat (expected .getMessage ()).isNotEmpty ();
65
62
}
66
63
}
67
64
}
You can’t perform that action at this time.
0 commit comments