Skip to content

Commit 74782fc

Browse files
committed
fix test and gitignore
Signed-off-by: christian.lutnik <[email protected]>
1 parent 14c6f8b commit 74782fc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ target
1515
java-report.json
1616

1717
# vmlens stuff
18-
java-sdk/vmlens-agent/vmlens/
18+
/vmlens-agent/vmlens/

src/test/java/dev/openfeature/sdk/vmlens/VmLensTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
package dev.openfeature.sdk.vmlens;
22

3+
import static org.assertj.core.api.Assertions.assertThat;
34
import static org.hamcrest.MatcherAssert.assertThat;
4-
import static org.hamcrest.Matchers.anyOf;
5-
import static org.hamcrest.Matchers.is;
65
import static org.junit.jupiter.api.Assertions.assertEquals;
76
import static org.junit.jupiter.api.Assertions.assertTrue;
87

@@ -72,7 +71,7 @@ void concurrentContextSetting() {
7271
() -> assertEquals("def", client.getStringValue("a", "a")),
7372
() -> client.setEvaluationContext(contextA),
7473
() -> client.setEvaluationContext(contextB));
75-
assertThat(client.getEvaluationContext(), anyOf(is(contextA), is(contextB)));
74+
assertThat(client.getEvaluationContext()).isIn(contextA, contextB);
7675
}
7776
}
7877
}

0 commit comments

Comments
 (0)