Skip to content

Commit 24ddd0e

Browse files
committed
fix: Do not test precision of NamedInstantPattern
1 parent 8c84355 commit 24ddd0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

log4j-core-test/src/test/java/org/apache/logging/log4j/core/pattern/NamedInstantPatternTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ void compatibilityOfLegacyPattern(NamedInstantPattern namedPattern) {
4141
MutableInstant instant = new MutableInstant();
4242
instant.initFromEpochSecond(javaTimeInstant.getEpochSecond(), javaTimeInstant.getNano());
4343
assertThat(legacyFormatter.format(instant)).isEqualTo(formatter.format(instant));
44-
assertThat(legacyFormatter.getPrecision()).isEqualTo(formatter.getPrecision());
4544
}
4645
}

0 commit comments

Comments
 (0)