Remove hardcode in tar test

(cherry picked from commit bfa6d8be0c)
This commit is contained in:
Kanstantsin Shautsou authored and Oliver Gondža committed 2015-10-28 18:32:48 +01:00
1 parent fd1e392fd4
commit fff2e27537
1 file changed
+1 -1
+1 -1
View File
@@ -371,7 +371,7 @@ public class FilePathTest {
// Decompress
FilePath outDir = new FilePath(temp.newFolder(filePrefix + "_out"));
final FilePath outFile = outDir.child(tempFile.getName());
tmpDirPath.child( filePrefix + ".tar").untar(outDir, TarCompression.NONE);
tmpDirPath.child(tarFile.getName()).untar(outDir, TarCompression.NONE);
assertEquals("Result file after the roundtrip differs from the initial file",
new FilePath(tempFile).digest(), outFile.digest());
}