Remove hardcode in tar test

This commit is contained in:
Kanstantsin Shautsou committed 2015-08-25 01:09:09 +03:00
1 parent 3e187a0264
commit bfa6d8be0c
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());
}