Use LinkedHashSet for deterministic order in test assertions

See gh-18580
pull/18566/head
contextshuffling 5 years ago committed by Stephane Nicoll
parent 4d181c5b6b
commit efedd80d4b

@ -19,7 +19,7 @@ package org.springframework.boot.context.properties.bind;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
@ -439,7 +439,7 @@ public class CollectionBinderTests {
private List<String> items = new ArrayList<>();
private Set<String> itemsSet = new HashSet<>();
private Set<String> itemsSet = new LinkedHashSet<>();
public List<String> getItems() {
return this.items;

Loading…
Cancel
Save