Closed
Description
The following test fails:
@Test
void testStoreOutputStream() throws IOException, URISyntaxException {
Path f = getResource("/test.properties");
Properties p = Properties.loadProperties(f);
ByteArrayOutputStream os = new ByteArrayOutputStream();
p.store(os);
assertThat(os.toString()).isEqualTo(readAll(f));
}
Probably the OutputStreamWriter isn't flushing to the underlying OutputStream?
Metadata
Metadata
Assignees
Labels
No labels