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-compiler.git
commit 8d12afc4a53d4d42fe53ea96053b5c713a59971a Author: Josh Tynjala <[email protected]> AuthorDate: Mon Jan 12 16:04:13 2026 -0800 Ant: enable assertions on junit tests Maven already enabled assertions. Best to find assertion errors without having to run both builds. --- compiler-jx/src/test/build.xml | 6 +++--- compiler/src/test/build.xml | 6 ++++++ formatter/src/test/build.xml | 3 +++ linter/src/test/build.xml | 3 +++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml index e508efd62..d935e312a 100644 --- a/compiler-jx/src/test/build.xml +++ b/compiler-jx/src/test/build.xml @@ -175,10 +175,10 @@ </fileset> </batchtest> <formatter type="xml"/> + <assertions> + <enable/> + </assertions> </junit> - <assertions> - <enable/> - </assertions> </target> <target name="typedef.tests" depends="download, compile.unit.tests"> diff --git a/compiler/src/test/build.xml b/compiler/src/test/build.xml index c5d078e68..2c7acfb4d 100644 --- a/compiler/src/test/build.xml +++ b/compiler/src/test/build.xml @@ -333,6 +333,9 @@ </fileset> </batchtest> <formatter type="xml"/> + <assertions> + <enable/> + </assertions> </junit> </target> @@ -376,6 +379,9 @@ </fileset> </batchtest> <formatter type="xml"/> + <assertions> + <enable/> + </assertions> </junit> </target> diff --git a/formatter/src/test/build.xml b/formatter/src/test/build.xml index 1de18fbe1..062f9752f 100644 --- a/formatter/src/test/build.xml +++ b/formatter/src/test/build.xml @@ -77,6 +77,9 @@ </fileset> </batchtest> <formatter type="xml"/> + <assertions> + <enable/> + </assertions> </junit> </target> diff --git a/linter/src/test/build.xml b/linter/src/test/build.xml index 43acdec94..83dabfda4 100644 --- a/linter/src/test/build.xml +++ b/linter/src/test/build.xml @@ -77,6 +77,9 @@ </fileset> </batchtest> <formatter type="xml"/> + <assertions> + <enable/> + </assertions> </junit> </target>
