Skip to content

Commit

Permalink
Removes new vision flake (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
elefeint authored May 20, 2022
1 parent b962a2e commit a6b4865
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void testExtractTextFromSinglePagePdf() {

List<String> extractedTexts = cloudVisionTemplate.extractTextFromPdf(dummyPdf);

assertThat(extractedTexts).hasSize(1).contains("Dummy PDF File\n");
assertThat(extractedTexts).hasSize(1).contains("Dummy PDF File");
}

@Test
Expand All @@ -46,7 +46,7 @@ public void testExtractTextFromMultiPagePdf() {

assertThat(extractedTexts)
.hasSize(2)
.contains("Dummy PDF File Page 1\n")
.contains("Dummy PDF File Page 2\n");
.contains("Dummy PDF File Page 1")
.contains("Dummy PDF File Page 2");
}
}

0 comments on commit a6b4865

Please sign in to comment.