You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason it fails, is because e.g. on the
testGetRelativeFileWithRootFolderNameInZip
the pathSeparator is set to FILE_SEPARATOR. Replacing it with ZIP_FILE_SEPARATOR in all those 5 failing test cases makes the tests pass. And the compiled package works on Windows.
FileUtilsTest.testGetRelativeFileWithRootFolderNameInZip
FileUtilsTest.testGetRelativeFileWithDifferentFileNameInZipAndRootFolderNameAndDefaultFolderPath
FileUtilsTest.testGetRelativeFileWithRootFolderNameInZipWithFileSeparator
FileUtilsTest.testGetRelativeFileWithRootFolderNameInZipWithSeparatorsInName
FileUtilsTest.testGetRelativeFileWithDifferentFileNameInZipAndRootFolderName
org.junit.ComparisonFailure:
Expected :"rootfolder\somefile.txt"
Actual :"rootfolder/somefile.txt"
The text was updated successfully, but these errors were encountered: