فهرست منبع

Fix maven compiler errors.

Sam Jaffe 5 سال پیش
والد
کامیت
4de4f8855c
2فایلهای تغییر یافته به همراه13 افزوده شده و 1 حذف شده
  1. 12 0
      pom.xml
  2. 1 1
      src/test/java/org/leumasjaffe/container/EitherFunctionalTest.java

+ 12 - 0
pom.xml

@@ -90,6 +90,18 @@
       <groupId>org.projectlombok</groupId>
       <artifactId>lombok</artifactId>
       <version>1.18.16</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.12</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.junit.platform</groupId>
+      <artifactId>junit-platform-runner</artifactId>
+      <version>1.7.0</version>
+      <scope>test</scope>
     </dependency>
 	</dependencies>
 	<version>0.3.0</version>

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

@@ -2,7 +2,7 @@ package org.leumasjaffe.container;
 
 import static org.hamcrest.CoreMatchers.*;
 import static org.hamcrest.MatcherAssert.assertThat;
-import static org.junit.Assert.fail;
+import static org.junit.jupiter.api.Assertions.*;
 
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;