Skip to content

Commit d274431

Browse files
committed
Unify with FJ series/5.x branch
1 parent e8fe3cb commit d274431

23 files changed

+25
-31
lines changed

core/src/test/java/fj/ClassTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88

99
import java.lang.reflect.Type;
1010
import java.util.Collection;
11+
import java.util.Iterator;
1112

12-
import static org.hamcrest.MatcherAssert.assertThat;
1313
import static org.hamcrest.core.Is.is;
14+
import static org.hamcrest.MatcherAssert.assertThat;
1415

1516
public class ClassTest {
1617
@Test

core/src/test/java/fj/FFunctionsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import fj.data.TreeZipper;
55
import org.junit.Test;
66
import static org.hamcrest.core.Is.is;
7-
import static org.junit.Assert.*;
87
import static org.hamcrest.MatcherAssert.assertThat;
98

109
public class FFunctionsTest {

core/src/test/java/fj/MonoidTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import static org.hamcrest.core.Is.is;
1111
import static org.hamcrest.MatcherAssert.assertThat;
1212

13-
1413
public class MonoidTest {
1514

1615
@Test

core/src/test/java/fj/OrderingTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
import static fj.Ordering.GT;
99
import static fj.Ordering.LT;
1010
import static org.hamcrest.core.Is.is;
11-
import static org.junit.Assert.*;
1211
import static org.hamcrest.MatcherAssert.assertThat;
1312

14-
1513
public class OrderingTest {
1614

1715
@Test

core/src/test/java/fj/PTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import static org.hamcrest.core.Is.is;
77
import static org.hamcrest.MatcherAssert.assertThat;
88

9-
109
public class PTest {
1110
@Test
1211
public void testPF(){

core/src/test/java/fj/TryEffectTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
import fj.function.TryEffect0;
55
import fj.function.TryEffect1;
66
import org.junit.Test;
7-
8-
import static org.hamcrest.MatcherAssert.assertThat;
97
import static org.hamcrest.core.Is.is;
8+
import static org.hamcrest.MatcherAssert.assertThat;
109

1110
public class TryEffectTest {
1211

core/src/test/java/fj/data/IOFunctionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
import static fj.data.Stream.cons;
1313
import static fj.data.Stream.nil_;
1414
import static org.hamcrest.CoreMatchers.is;
15-
import static org.junit.Assert.*;
1615
import static org.hamcrest.MatcherAssert.assertThat;
16+
import static org.junit.Assert.fail;
1717

1818
public class IOFunctionsTest {
1919

core/src/test/java/fj/data/ListTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
import static fj.data.Validation.fail;
3131
import static fj.data.Validation.*;
3232
import static org.hamcrest.CoreMatchers.equalTo;
33-
import static org.junit.Assert.*;
34-
33+
import static org.junit.Assert.assertFalse;
34+
import static org.junit.Assert.assertTrue;
3535
import static org.hamcrest.MatcherAssert.assertThat;
36-
36+
import static org.junit.Assert.assertEquals;
3737

3838
public class ListTest {
3939

core/src/test/java/fj/data/SetTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import static org.hamcrest.CoreMatchers.equalTo;
99
import static org.hamcrest.MatcherAssert.assertThat;
1010

11-
1211
public class SetTest {
1312

1413
@Test

core/src/test/java/fj/data/StreamTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import static org.junit.Assert.assertEquals;
3939
import static org.hamcrest.MatcherAssert.assertThat;
4040

41-
4241
public class StreamTest {
4342

4443
@Test

0 commit comments

Comments
 (0)