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 2358fa220e9d134f4a290719901a3dc3aaf64184
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Jun 20 14:22:27 2024 -0700

    Tests: org.junit.Assert.assertThat is deprecated, so migrate to the 
suggested org.hamcrest.MatcherAssert.assertThat
---
 .../royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java   | 2 +-
 .../test/java/org/apache/royale/compiler/internal/test/TestBase.java    | 2 +-
 .../apache/royale/compiler/internal/css/CSSArrayPropertyValueTests.java | 2 +-
 .../royale/compiler/internal/css/CSSNumberPropertyValueTests.java       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java
 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java
index 43cd9dd8d..f9dec5bb4 100644
--- 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java
+++ 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java
@@ -20,7 +20,7 @@
 package org.apache.royale.compiler.internal.codegen.js.royale;
 
 import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.fail;
 
 import java.io.File;
diff --git 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/TestBase.java
 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/TestBase.java
index caa6ece95..91bd3009a 100644
--- 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/TestBase.java
+++ 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/TestBase.java
@@ -20,7 +20,7 @@
 package org.apache.royale.compiler.internal.test;
 
 import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import java.io.BufferedOutputStream;
 import java.io.BufferedReader;
diff --git 
a/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSArrayPropertyValueTests.java
 
b/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSArrayPropertyValueTests.java
index 906efc8eb..80b21743d 100644
--- 
a/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSArrayPropertyValueTests.java
+++ 
b/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSArrayPropertyValueTests.java
@@ -20,7 +20,7 @@
 package org.apache.royale.compiler.internal.css;
 
 import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import java.util.ArrayList;
 import java.util.List;
diff --git 
a/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSNumberPropertyValueTests.java
 
b/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSNumberPropertyValueTests.java
index 471632433..9c08b93cb 100644
--- 
a/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSNumberPropertyValueTests.java
+++ 
b/compiler/src/test/java/org/apache/royale/compiler/internal/css/CSSNumberPropertyValueTests.java
@@ -20,7 +20,7 @@
 package org.apache.royale.compiler.internal.css;
 
 import static org.hamcrest.core.Is.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import java.util.ArrayList;
 import java.util.List;

Reply via email to