Skip to content

Commit 27150e7

Browse files
authored
samples: Update vision dependency version and fix test. (#1099)
1 parent 045dcf3 commit 27150e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public void detectWebAnnotations() throws Exception {
244244

245245
// Assert
246246
String got = bout.toString();
247-
assertThat(got).contains("Landmark");
247+
assertThat(got).contains("History");
248248
assertThat(got).contains("Best guess label: palace of fine arts");
249249
}
250250

@@ -256,7 +256,7 @@ public void detectWebAnnotationsGcs() throws Exception {
256256

257257
// Assert
258258
String got = bout.toString();
259-
assertThat(got).contains("Landmark");
259+
assertThat(got).contains("History");
260260
assertThat(got).contains("Best guess label: palace of fine arts");
261261
}
262262

0 commit comments

Comments
 (0)