Skip to content

Commit 4225a14

Browse files
dzlier-gcpchingor13
authored andcommitted
samples: Update vision dependency version and fix test. (#1099)
1 parent c22d639 commit 4225a14

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
@@ -236,7 +236,7 @@ public void detectWebAnnotations() throws Exception {
236236

237237
// Assert
238238
String got = bout.toString();
239-
assertThat(got).contains("Landmark");
239+
assertThat(got).contains("History");
240240
assertThat(got).contains("Best guess label: palace of fine arts");
241241
}
242242

@@ -248,7 +248,7 @@ public void detectWebAnnotationsGcs() throws Exception {
248248

249249
// Assert
250250
String got = bout.toString();
251-
assertThat(got).contains("Landmark");
251+
assertThat(got).contains("History");
252252
assertThat(got).contains("Best guess label: palace of fine arts");
253253
}
254254

0 commit comments

Comments
 (0)