Skip to content

Commit f010532

Browse files
committed
Update CharsetUtilsTest.java
1 parent 170a8e7 commit f010532

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET;
88
import static io.microsphere.util.ClassUtils.isAbstractClass;
9+
import static java.nio.charset.StandardCharsets.UTF_8;
910
import static org.junit.jupiter.api.Assertions.assertEquals;
1011
import static org.junit.jupiter.api.Assertions.assertThrows;
1112
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -31,7 +32,7 @@ public void testClass() {
3132

3233
@Test
3334
public void testConstants() {
34-
assertEquals(StandardCharsets.UTF_8, DEFAULT_CHARSET);
35+
assertEquals(UTF_8, DEFAULT_CHARSET);
3536
}
3637

3738
}

0 commit comments

Comments
 (0)