Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 88bd640

Browse files
committed
Change from Arrays.asList to Collections.singletonList
Because this is something IDEs care about
1 parent b37d735 commit 88bd640

File tree

1 file changed

+1
-1
lines changed
  • jmespath-core/src/test/java/io/burt/jmespath/jcf

1 file changed

+1
-1
lines changed

jmespath-core/src/test/java/io/burt/jmespath/jcf/JcfTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ public class JcfTest extends JmesPathRuntimeTest<Object> {
2020
@Test
2121
public void toListReturnsAListWhenGivenAnotherTypeOfCollection() {
2222
List<Object> list = runtime().toList(Collections.singleton(parse("1")));
23-
assertThat(list, is(Arrays.asList(parse("1"))));
23+
assertThat(list, is(Collections.singletonList(parse("1"))));
2424
}
2525
}

0 commit comments

Comments
 (0)