You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/06/24 12:45:09 UTC

[royale-asjs] branch develop updated: Fixed unsigned short test

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 948f9d7  Fixed unsigned short test
948f9d7 is described below

commit 948f9d7bd50398c3743593868940bc632b660949
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Jun 24 15:44:59 2018 +0300

    Fixed unsigned short test
---
 .../src/main/royale/flexUnitTests/core/BinaryDataTesterTest.as        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/manualtests/UnitTests/src/main/royale/flexUnitTests/core/BinaryDataTesterTest.as b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/BinaryDataTesterTest.as
index d731ae0..83c848c 100644
--- a/manualtests/UnitTests/src/main/royale/flexUnitTests/core/BinaryDataTesterTest.as
+++ b/manualtests/UnitTests/src/main/royale/flexUnitTests/core/BinaryDataTesterTest.as
@@ -580,11 +580,11 @@ package flexUnitTests.core
 
 			ba = new BinaryData();
 			ba.writeByte(25);
-			ba.writeShort(1029);
+			ba.writeShort(65535);
 			ba.writeUnsignedInt(4294967295);
 			ba.position = 0;
 			Assert.assertEquals("BinaryData readByte: should be 25", 25, ba.readByte());
-			Assert.assertEquals("BinaryData readShort: should be 1029", 1029, ba.readShort());
+			Assert.assertEquals("BinaryData readUnsignedShort: should be 65535", 65535, ba.readUnsignedShort());
 			Assert.assertEquals("BinaryData readInt: should be 4294967295", 4294967295, ba.readUnsignedInt());
 
 			ba = new BinaryData();