diff --git a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java index 544c6f93173..0fdda77d940 100644 --- a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java +++ b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java @@ -73,7 +73,9 @@ public void testDetectHandwrittenOcr() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Google Cloud Platform"); + assertThat(got).contains("Google"); + assertThat(got).contains("Cloud"); + assertThat(got).contains("Platform"); } @Test @@ -97,7 +99,9 @@ public void testDetectHandwrittenOcrGcs() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Google Cloud Platform"); + assertThat(got).contains("Google"); + assertThat(got).contains("Cloud"); + assertThat(got).contains("Platform"); } @Test