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

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

commit 4bd4aaf1c39fbc44e88e7ab4492e041ddbcbfe13
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Dec 14 14:22:18 2022 -0800

    RoyaleUnit: fix some assert tests that weren't being run
---
 frameworks/projects/RoyaleUnit/src/test/royale/tests/AssertTests.as | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/frameworks/projects/RoyaleUnit/src/test/royale/tests/AssertTests.as 
b/frameworks/projects/RoyaleUnit/src/test/royale/tests/AssertTests.as
index dc253c3b99..bb50747073 100644
--- a/frameworks/projects/RoyaleUnit/src/test/royale/tests/AssertTests.as
+++ b/frameworks/projects/RoyaleUnit/src/test/royale/tests/AssertTests.as
@@ -352,6 +352,7 @@ package tests
                        Assert.assertEquals(false, 1);
                }
 
+               [Test]
                public function testAssertEqualsWithFalseAnd0():void
                {
                        Assert.assertEquals(false, 0);
@@ -405,6 +406,7 @@ package tests
                        Assert.assertEquals(null, 1);
                }
 
+               [Test(expected="org.apache.royale.test.AssertionError")]
                public function testAssertEqualsWithNullAnd0():void
                {
                        Assert.assertEquals(null, 0);
@@ -458,6 +460,7 @@ package tests
                        Assert.assertEquals(undefined, 1);
                }
 
+               [Test(expected="org.apache.royale.test.AssertionError")]
                public function testAssertEqualsWithUndefinedAnd0():void
                {
                        Assert.assertEquals(undefined, 0);

Reply via email to