Skip to content

Commit

Permalink
test: fix InMemoryFileTest#file_with_only_text
Browse files Browse the repository at this point in the history
  • Loading branch information
Enzo Trapp Galbardi committed Jan 13, 2025
1 parent 6cf4110 commit 3f56dc5
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ void file_with_only_text() throws IOException {

assertThat(inMemoryPdfFile.hasQrCode()).isFalse();
assertThat(inMemoryPdfFile.has2DDoc()).isFalse();
assertThat(inMemoryPdfFile.getContentAsString()).isEqualTo("""
Test document
""");
assertThat(inMemoryPdfFile.getContentAsString()).isNotEmpty();
assertThat(inMemoryPdfFile.getContentAsString().trim()).isEqualTo("Test document");
}

private FileStorageService classpathStorageService() throws IOException {
Expand Down

0 comments on commit 3f56dc5

Please sign in to comment.