Skip to content

Commit a5a4513

Browse files
committed
. t repeat testFebruaryAndDaylightSavingsTime
1 parent 32a8c62 commit a5a4513

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

approvaltests-util-tests/src/test/java/com/spun/util/DateDifferenceTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.spun.util.parser.TemplateStringUtils;
55
import org.approvaltests.Approvals;
66
import org.approvaltests.utils.WithTimeZone;
7+
import org.junit.jupiter.api.RepeatedTest;
78
import org.junit.jupiter.api.Test;
89
import org.lambda.functions.Function1;
910

@@ -140,9 +141,10 @@ public void testGetRoundedDifference()
140141
}
141142
}
142143

143-
@Test
144+
@RepeatedTest(100000)
144145
public void testFebruaryAndDaylightSavingsTime()
145146
{
147+
Approvals.settings().allowMultipleVerifyCallsForThisMethod();
146148
try (WithTimeZone tz = new WithTimeZone("PST"))
147149
{
148150
StringBuilder buffer = new StringBuilder();

0 commit comments

Comments
 (0)