File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/groovy/edu/ie3/util/io Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class FileIOUtilsTest extends Specification {
90
90
then :
91
91
noExceptionThrown()
92
92
Files . exists(archiveFile)
93
- Files . size(archiveFile) >= 1511 && Files . size(archiveFile) <= 1605 // Should be around 1558 bytes +/- 3 %
93
+ Files . size(archiveFile) >= 1317 && Files . size(archiveFile) <= 1399 // Should be around 1385 bytes +/- 3 %
94
94
}
95
95
96
96
def " The fileio utils is able to zip the contents of a directory with nested structure to .tar.gz" () {
@@ -105,7 +105,7 @@ class FileIOUtilsTest extends Specification {
105
105
then :
106
106
noExceptionThrown()
107
107
Files . exists(archiveFile)
108
- Files . size(archiveFile) >= 1578 && Files . size(archiveFile) <= 1676 // Should be around 1627 bytes +/- 3 %
108
+ Files . size(archiveFile) >= 1384 && Files . size(archiveFile) <= 1427 // Should be around 1427 bytes +/- 3 %
109
109
}
110
110
111
111
def " The fileio utils throws an exception, if the input path is null when called to compress a file" () {
You can’t perform that action at this time.
0 commit comments