You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by po...@apache.org on 2022/08/14 22:16:50 UTC

[creadur-rat] 01/02: RAT-310: Use hamcrest assertion instead of junit one's

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

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git

commit c2485e603fb32f566890192e30cb4a011cf520bf
Author: P. Ottlinger <po...@apache.org>
AuthorDate: Mon Aug 15 00:15:22 2022 +0200

    RAT-310: Use hamcrest assertion instead of junit one's
---
 .../test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java   | 2 +-
 .../src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java b/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
index 739806ca..3883e90a 100644
--- a/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
+++ b/apache-rat-api/src/test/java/org/apache/rat/api/domain/LicenseFamilyBuilderTest.java
@@ -19,8 +19,8 @@
 package org.apache.rat.api.domain;
 
 import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
 
 import org.junit.Test;
 
diff --git a/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java b/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
index bf7c7bd3..9270510e 100644
--- a/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
+++ b/apache-rat-api/src/test/java/org/apache/rat/api/domain/RatLicenseFamilyTest.java
@@ -30,7 +30,7 @@ import static org.apache.rat.api.domain.RatLicenseFamily.TMF854;
 import static org.apache.rat.api.domain.RatLicenseFamily.W3C;
 import static org.apache.rat.api.domain.RatLicenseFamily.W3C_DOCUMENTATION;
 import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import org.junit.Test;