You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/12/26 07:29:33 UTC

[royale-compiler] branch develop updated: try to fix JSOnly test

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 4ff6f54  try to fix JSOnly test
4ff6f54 is described below

commit 4ff6f545eb4f0d9ac459efcd683639f028258ff4
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Dec 25 23:29:13 2018 -0800

    try to fix JSOnly test
---
 compiler/src/test/java/as/ASNamespaceTests.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler/src/test/java/as/ASNamespaceTests.java b/compiler/src/test/java/as/ASNamespaceTests.java
index 0c91d58..40dca57 100644
--- a/compiler/src/test/java/as/ASNamespaceTests.java
+++ b/compiler/src/test/java/as/ASNamespaceTests.java
@@ -41,7 +41,7 @@ public class ASNamespaceTests extends ASFeatureTestsBase
         {
         	imports = new String[]
  	        {
- 	            "import chrome.app;",
+ 	            "import Intl.Collator;",
  	        };        	
         }
         String[] testCode;
@@ -60,10 +60,10 @@ public class ASNamespaceTests extends ASFeatureTestsBase
         else
         {
             testCode = new String[]{
-                	"var foo:app = new app();",
-                	"var bar:chrome.app = new chrome.app();",
-                	"var b1:Boolean = bar is app;",
-                	"var b2:Boolean = foo is chrome.app;",
+                	"var foo:Collator = new Collator();",
+                	"var bar:Intl.Collator = new Intl.Collator();",
+                	"var b1:Boolean = bar is Collator;",
+                	"var b2:Boolean = foo is Intl.Collator;",
                     "assertEqual('package qualifiers', b1, true);",
                     "assertEqual('package qualifiers', b2, true);",
                 };