Skip to content

Commit a352281

Browse files
committed
Fix iterator test
1 parent 71de481 commit a352281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snap-common/src/test/java/org/snapscript/common/CompoundIteratorTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import java.util.ArrayList;
44
import java.util.HashSet;
55
import java.util.Iterator;
6+
import java.util.LinkedHashSet;
67
import java.util.List;
78
import java.util.Set;
89

@@ -11,7 +12,7 @@
1112
public class CompoundIteratorTest extends TestCase {
1213

1314
public void testIterator() {
14-
Set<String> one = new HashSet<String>();
15+
Set<String> one = new LinkedHashSet<String>();
1516
List<String> two = new ArrayList<String>();
1617
List<String> three = new ArrayList<String>();
1718

0 commit comments

Comments
 (0)