Skip to content

Commit 26dd573

Browse files
committed
fix: testMaxNameLength_MatchesRealSystem test
1 parent 04621bf commit 26dd573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/apache/commons/io/FileSystemTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ void testMaxNameLength_MatchesRealSystem(@TempDir Path tempDir) {
195195
final FileSystem fs = FileSystem.getCurrent();
196196
final String[] validNames;
197197
switch (fs) {
198+
case MAC_OSX:
198199
case LINUX:
199200
validNames = new String[] { FILE_NAME_255_ASCII, FILE_NAME_255_UTF8_BYTES };
200201
break;
201-
case MAC_OSX:
202202
case WINDOWS:
203203
validNames = new String[] { FILE_NAME_255_ASCII, FILE_NAME_255_UTF16_CODE_UNITS};
204204
break;

0 commit comments

Comments
 (0)