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/03/20 21:00:23 UTC

[royale-asjs] 01/02: Removed warning

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

commit 235c5146a8fe04bc581f604d940a2c138ffd5fe2
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Mar 20 22:59:36 2018 +0200

    Removed warning
---
 .../Core/src/test/royale/flexUnitTests/KeyboardEventConverterTest.as    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/test/royale/flexUnitTests/KeyboardEventConverterTest.as b/frameworks/projects/Core/src/test/royale/flexUnitTests/KeyboardEventConverterTest.as
index e7af1a1..39dbe9d 100644
--- a/frameworks/projects/Core/src/test/royale/flexUnitTests/KeyboardEventConverterTest.as
+++ b/frameworks/projects/Core/src/test/royale/flexUnitTests/KeyboardEventConverterTest.as
@@ -70,7 +70,7 @@ package flexUnitTests
                 var nEv:org.apache.royale.events.KeyboardEvent = KeyboardEventConverter.convert(oEv);
                 assertEquals("keyUp", nEv.type);
                 oEv = {"type":"keyDown","keyCode":66,"charCode":66};
-                var nEv:org.apache.royale.events.KeyboardEvent = KeyboardEventConverter.convert(oEv);
+                nEv = KeyboardEventConverter.convert(oEv);
                 assertEquals("keyDown", nEv.type);
             }
         }

-- 
To stop receiving notification emails like this one, please contact
harbs@apache.org.