You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2015/04/05 07:57:32 UTC

git commit: [flex-sdk] [refs/heads/develop] - Fix test for FLEX-34753

Repository: flex-sdk
Updated Branches:
  refs/heads/develop eb819a159 -> 34bae8282


Fix test for FLEX-34753

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/34bae828
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/34bae828
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/34bae828

Branch: refs/heads/develop
Commit: 34bae8282a85530d9a5b5481aadb7db237b339e1
Parents: eb819a1
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Sun Apr 5 07:57:20 2015 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Sun Apr 5 07:57:20 2015 +0200

----------------------------------------------------------------------
 .../projects/apache/tests/promises/cases/PromisesJIRATests.as    | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/34bae828/frameworks/projects/apache/tests/promises/cases/PromisesJIRATests.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/apache/tests/promises/cases/PromisesJIRATests.as b/frameworks/projects/apache/tests/promises/cases/PromisesJIRATests.as
index ae102c3..a6a3d9e 100644
--- a/frameworks/projects/apache/tests/promises/cases/PromisesJIRATests.as
+++ b/frameworks/projects/apache/tests/promises/cases/PromisesJIRATests.as
@@ -24,8 +24,6 @@ import flash.events.TimerEvent;
 import flash.net.URLRequest;
 import flash.utils.Timer;
 
-import flashx.textLayout.debug.assert;
-
 import org.apache.flex.promises.Promise;
 import org.apache.flex.promises.interfaces.IThenable;
 import org.flexunit.asserts.assertEquals;
@@ -95,7 +93,7 @@ public class PromisesJIRATests
 	//----------------------------------
 	
 	private function verifyGotType_(event:TimerEvent, result:*):void {
-		assertEquals(typeof this.expected_, this.got_);
+		assertEquals(this.expected_, this.got_.toString());
 	}