Browse Source

Fix deprecated assertThat in tests.

Sam Jaffe 5 years ago
parent
commit
c743c19399

+ 1 - 1
src/test/java/org/leumasjaffe/container/EitherFunctionalTest.java

@@ -1,7 +1,7 @@
 package org.leumasjaffe.container;
 
 import static org.hamcrest.CoreMatchers.*;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.fail;
 
 import org.junit.Before;

+ 1 - 1
src/test/java/org/leumasjaffe/container/EitherStateTest.java

@@ -1,7 +1,7 @@
 package org.leumasjaffe.container;
 
 import static org.hamcrest.CoreMatchers.*;
-import static org.junit.Assert.assertThat;
+import static org.hamcrest.MatcherAssert.assertThat;
 
 import org.junit.Before;
 import org.junit.Test;