Skip to content

Commit

Permalink
fix: fix test for fileSpewer ICIJ/datashare#1135
Browse files Browse the repository at this point in the history
Co-authored-by: Maxime Vanza Lutonda <[email protected]>
  • Loading branch information
bamthomas and mvanzalu committed Jul 26, 2023
1 parent 0a32d61 commit 088cb78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void test_spew_root_document_in_memory() throws Exception {
String[] list = folder.getRoot().list();
assertThat(list).isNotEmpty();
assertThat(list).contains("test.txt.json", "test.txt.txt");
assertThat( readAllLines(folder.getRoot().toPath().resolve("test.txt.json"), Charset.defaultCharset())).contains("{ }");
assertThat( readAllLines(folder.getRoot().toPath().resolve("test.txt.json"), Charset.defaultCharset())).contains(" \"tika_metadata_resourcename\" : \"test.txt\"");
assertThat( readAllLines(folder.getRoot().toPath().resolve("test.txt.txt"), Charset.defaultCharset())).contains("this is a content");
}

Expand Down

0 comments on commit 088cb78

Please sign in to comment.