From ebf38b048c9bc00e737b3d942c575b170ca07936 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 21 Apr 2022 10:18:54 +0200 Subject: [PATCH] Fix DynamicPolicyTest.continueCurrentFile --- .../src/test/java/org/tinylog/policies/DynamicPolicyTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinylog-impl/src/test/java/org/tinylog/policies/DynamicPolicyTest.java b/tinylog-impl/src/test/java/org/tinylog/policies/DynamicPolicyTest.java index 5585f39bd..9894d9760 100644 --- a/tinylog-impl/src/test/java/org/tinylog/policies/DynamicPolicyTest.java +++ b/tinylog-impl/src/test/java/org/tinylog/policies/DynamicPolicyTest.java @@ -35,13 +35,13 @@ public final class DynamicPolicyTest { public final SystemStreamCollector systemStream = new SystemStreamCollector(true); /** - * Verifies that an existing log file can be continued until triggering a manual reset. + * Verifies that an existing log file will always be continued. * * @throws IOException * Failed creating temporary file */ @Test - public void discontinueExistingFile() throws IOException { + public void continueExistingFile() throws IOException { String file = FileSystem.createTemporaryFile(); DynamicPolicy policy = new DynamicPolicy(null); assertThat(policy.continueExistingFile(file)).isTrue();