Skip to content

Commit 2cf98b5

Browse files
authored
samples: Generalized testDetextWebEntitiesIncludeGeoResults. (#976)
1 parent 38333e1 commit 2cf98b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void testDetectWebEntitiesIncludeGeoResults() throws Exception {
284284
// Assert
285285
String got = bout.toString();
286286
// Note: entities and labels can change over time.
287-
assertThat(got).contains("Tel Aviv");
287+
assertThat(got).doesNotContain("Error");
288288
}
289289

290290
@Test

0 commit comments

Comments
 (0)