This is an automated email from the ASF dual-hosted git repository. sruehl pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/master by this push: new c45513e move upper bound +1 to the real boundary of hex test c45513e is described below commit c45513e0e6be5b00dbfa6cdfb91b5bce0b5ebe6e Author: Sebastian Rühl <sru...@apache.org> AuthorDate: Thu Feb 22 12:13:11 2018 +0100 move upper bound +1 to the real boundary of hex test --- .../test/java/org/apache/plc4x/java/ads/api/util/ByteValueTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/api/util/ByteValueTest.java b/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/api/util/ByteValueTest.java index b35156a..9f0e9c6 100644 --- a/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/api/util/ByteValueTest.java +++ b/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/api/util/ByteValueTest.java @@ -79,7 +79,7 @@ public class ByteValueTest { @Test(expected = IllegalArgumentException.class) public void checkUnsignedBoundsLongTooBigHex() { - ByteValue.checkUnsignedBounds(0x1_FF_FF, 2); + ByteValue.checkUnsignedBounds(0x1_00_00, 2); } @Test @@ -106,7 +106,7 @@ public class ByteValueTest { @Test(expected = IllegalArgumentException.class) public void checkUnsignedBoundsBigTooBigHex() { - ByteValue.checkUnsignedBounds(BigInteger.valueOf(0x1_FF_FF), 2); + ByteValue.checkUnsignedBounds(BigInteger.valueOf(0x1_00_00), 2); } @Test -- To stop receiving notification emails like this one, please contact sru...@apache.org.