Skip to content

Commit a4964f3

Browse files
committed
Re-enabled test case on windows
1 parent 7676f8f commit a4964f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/codehaus/plexus/archiver/zip/ZipArchiverTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,20 +409,20 @@ public void notestJustThatOne()
409409
public void testCreateResourceCollection()
410410
throws Exception
411411
{
412-
if ( Os.isFamily( Os.FAMILY_WINDOWS )) return; // THe
413-
414412
final File srcDir = new File("src");
415413
final File zipFile = new File( "target/output/src.zip" );
416414
ZipArchiver zipArchiver = (ZipArchiver) lookup( Archiver.ROLE, "zip" );
417415
zipArchiver.setDestFile( zipFile );
418416
zipArchiver.addDirectory( srcDir, null, FileUtils.getDefaultExcludes() );
417+
zipArchiver.setEncoding( "UTF-8" );
419418
FileUtils.removePath( zipFile.getPath() );
420419
zipArchiver.createArchive();
421420

422421
final File zipFile2 = new File( "target/output/src2.zip" );
423422
ZipArchiver zipArchiver2 = (ZipArchiver) lookup( Archiver.ROLE, "zip" );
424423
zipArchiver2.setDestFile( zipFile2 );
425424
zipArchiver2.addArchivedFileSet( zipFile, "prfx/" );
425+
zipArchiver2.setEncoding( "UTF-8" );
426426
FileUtils.removePath( zipFile2.getPath() );
427427
zipArchiver2.createArchive();
428428

0 commit comments

Comments
 (0)