Skip to content

Commit e07dcd7

Browse files
lesvchingor13
authored andcommitted
samples: Don't check for location (#809)
Vision is moving back and forth between knowing the image and thinking it’s in Ancient Rome. Let’s not test such things.
1 parent 1f14cfb commit e07dcd7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vision/snippets/src/test/java/com/example/vision/DetectIT.java

-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ public void detectWebAnnotations() throws Exception {
237237
// Assert
238238
String got = bout.toString();
239239
assertThat(got).contains("Palace");
240-
assertThat(got).contains("Francisco");
241240
}
242241

243242
@Test
@@ -249,7 +248,6 @@ public void detectWebAnnotationsGcs() throws Exception {
249248
// Assert
250249
String got = bout.toString();
251250
assertThat(got).contains("Palace");
252-
assertThat(got).contains("Francisco");
253251
}
254252

255253
@Test

0 commit comments

Comments
 (0)