Skip to content

Commit

Permalink
vision: makes tests more generic (#2475)
Browse files Browse the repository at this point in the history
Fix: #2424
Fix: #2408
  • Loading branch information
nnegrey authored Mar 23, 2020
1 parent 9bd162d commit b2fcee6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ public void detectWebAnnotations() throws Exception {

// Assert
String got = bout.toString().toLowerCase();
assertThat(got).contains("history");
assertThat(got).contains("best guess label: palace of fine arts");
assertThat(got).contains("entity:id:score");
assertThat(got).contains("best guess label");
}

@Test
Expand All @@ -256,8 +256,8 @@ public void detectWebAnnotationsGcs() throws Exception {

// Assert
String got = bout.toString().toLowerCase();
assertThat(got).contains("history");
assertThat(got).contains("best guess label: palace of fine arts");
assertThat(got).contains("entity:id:score");
assertThat(got).contains("best guess label");
}

@Test
Expand Down

0 comments on commit b2fcee6

Please sign in to comment.