Skip to content

Commit feca229

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Todd Baert <[email protected]>
1 parent a314ff8 commit feca229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/dev/openfeature/sdk/ImmutableContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ void mergeShouldObtainKeysFromOverridingContextWhenExistingContextIsEmpty() {
145145
EvaluationContext ctx = new ImmutableContext();
146146
EvaluationContext overriding = new ImmutableContext(attributes);
147147
EvaluationContext merge = ctx.merge(overriding);
148-
assertArrayEquals(new Object[] {"key1", "key2"}, merge.keySet().toArray());
148+
assertEquals(new java.util.HashSet<>(java.util.Arrays.asList("key1", "key2")), merge.keySet());
149149
}
150150

151151
@DisplayName("Two different MutableContext objects with the different contents are not considered equal")

0 commit comments

Comments
 (0)