Skip to content

Commit 4728692

Browse files
chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v3.10.3 (#2050)
* chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v3.10.3 * chore: apply spotless formatting for plugin 3.10.3 Signed-off-by: Simon Schrottner <simon.schrottner@flagsmith.com> --------- Signed-off-by: Simon Schrottner <simon.schrottner@flagsmith.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Schrottner <simon.schrottner@flagsmith.com>
1 parent 374f3a7 commit 4728692

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@
621621
<plugin>
622622
<groupId>com.diffplug.spotless</groupId>
623623
<artifactId>spotless-maven-plugin</artifactId>
624-
<version>3.10.2</version>
624+
<version>3.10.3</version>
625625
<configuration>
626626
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
627627
<!-- <ratchetFrom>origin/main</ratchetFrom>-->

‎src/test/java/dev/openfeature/sdk/FlagEvaluationSpecTest.java‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,11 @@ void api_context() {
541541
client.getBooleanValue("any-flag", false);
542542

543543
// assert that the value from the global context was passed to the provider
544-
verify(provider).getBooleanEvaluation(any(), any(), argThat((arg) -> arg.getValue(contextKey)
545-
.asString()
546-
.equals(contextValue)));
544+
verify(provider)
545+
.getBooleanEvaluation(
546+
any(),
547+
any(),
548+
argThat((arg) -> arg.getValue(contextKey).asString().equals(contextValue)));
547549
}
548550

549551
@Specification(

‎src/test/java/dev/openfeature/sdk/ProviderInitializeBackwardCompatibilityTest.java‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ void legacySingleArgProviderInitializedForNamedDomain() {
8888

8989
api.setProvider(DOMAIN, provider);
9090

91-
await().atMost(Duration.ofSeconds(5)).untilAsserted(() -> assertThat(provider.singleArgInitCount())
92-
.isOne());
91+
await().atMost(Duration.ofSeconds(5))
92+
.untilAsserted(
93+
() -> assertThat(provider.singleArgInitCount()).isOne());
9394
}
9495

9596
@Test
@@ -99,8 +100,9 @@ void legacySingleArgProviderInitializedAsDefault() {
99100

100101
api.setProvider(provider);
101102

102-
await().atMost(Duration.ofSeconds(5)).untilAsserted(() -> assertThat(provider.singleArgInitCount())
103-
.isOne());
103+
await().atMost(Duration.ofSeconds(5))
104+
.untilAsserted(
105+
() -> assertThat(provider.singleArgInitCount()).isOne());
104106
}
105107

106108
@Test

0 commit comments

Comments
 (0)