commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [5/5] commons-compress git commit: COMPRESS-411 clearer formulation of the same test
Date Sat, 17 Jun 2017 19:48:16 GMT
COMPRESS-411 clearer formulation of the same test


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/4be9979b
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/4be9979b
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/4be9979b

Branch: refs/heads/master
Commit: 4be9979b45ceadc50dc24607884d34613fead1f5
Parents: 02735ad
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Sat Jun 17 21:47:43 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Sat Jun 17 21:47:43 2017 +0200

----------------------------------------------------------------------
 .../org/apache/commons/compress/archivers/tar/TarUtilsTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/4be9979b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
index a4ef25b..87f6b27 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
@@ -160,7 +160,8 @@ public class TarUtilsTest {
         checkRoundTripOctalOrBinary(1, length);
         checkRoundTripOctalOrBinary(TarConstants.MAXSIZE, length); // will need binary format
         checkRoundTripOctalOrBinary(-1, length); // will need binary format
-        checkRoundTripOctalOrBinary(0xff00000000000001l, length);
+        checkRoundTripOctalOrBinary(0xffffffffffffffl, length);
+        checkRoundTripOctalOrBinary(-0xffffffffffffffl, length);
     }
 
     // Check correct trailing bytes are generated


Mime
View raw message