apply suggestions from code review

This commit is contained in:
Armin Schrenk
2026-01-28 17:35:34 +01:00
parent 19c9eada9d
commit e9b3b505a8
3 changed files with 4 additions and 5 deletions
@@ -50,7 +50,7 @@ public class AdminPropertiesSetterTest {
@Test
@DisplayName("Loading invalid file returns empty properties")
void loadEmptyFile(@TempDir Path path) throws IOException {
void loadInvalidFile(@TempDir Path path) throws IOException {
var config = path.resolve("config.properties");
try (var out = Files.newOutputStream(config, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE)) {
var bytes = "method=\\u2u20".getBytes(StandardCharsets.UTF_8); //only one "u" is allowed in a Unicode escape sequence