We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3cf8b0 commit a941407Copy full SHA for a941407
src/test/java/org/apache/commons/io/FileSystemTest.java
@@ -19,6 +19,7 @@
19
20
import static org.junit.jupiter.api.Assertions.assertEquals;
21
import static org.junit.jupiter.api.Assertions.assertFalse;
22
+import static org.junit.jupiter.api.Assertions.assertNotSame;
23
import static org.junit.jupiter.api.Assertions.assertTrue;
24
25
import org.apache.commons.lang3.SystemUtils;
@@ -49,6 +50,12 @@ void testGetCurrent() {
49
50
}
51
52
53
+ @Test
54
+ void testGetIllegalFileNameChars() {
55
+ final FileSystem current = FileSystem.getCurrent();
56
+ assertNotSame(current.getIllegalFileNameChars(), current.getIllegalFileNameChars());
57
+ }
58
+
59
@Test
60
void testIsLegalName() {
61
for (final FileSystem fs : FileSystem.values()) {
0 commit comments