Skip to content

Commit 83aeb2a

Browse files
author
Bilal Al
committed
fixed test
1 parent 2eb378e commit 83aeb2a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

client/src/test/java/io/split/client/RequestDecoratorTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
import java.util.List;
1515
import java.util.Arrays;
16-
import java.util.ArrayList;
1716
import java.util.HashMap;
1817
import java.util.Map;
1918

@@ -38,9 +37,9 @@ public MyCustomHeaders() {}
3837
public Map<String, List<String>> getHeaderOverrides() {
3938
return new HashMap<String, List<String>>()
4039
{{
41-
put("first", List.of("1"));
42-
put("second", List.of("2.1", "2.2"));
43-
put("third", List.of("3"));
40+
put("first", Arrays.asList("1"));
41+
put("second", Arrays.asList("2.1", "2.2"));
42+
put("third", Arrays.asList("3"));
4443
}};
4544
}
4645
}

0 commit comments

Comments
 (0)