Skip to content

Commit 28cc8c7

Browse files
committed
6.1 was removed in favor of a better 5.3
1 parent 365491b commit 28cc8c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/src/test/java/javasdk/HookSpecTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public void finallyAfter(HookContext<Boolean> ctx, ImmutableMap<String, Object>
289289
@Specification(spec="hooks", number="2.1", text="HookHints MUST be a map of objects.")
290290
@Specification(spec="hooks", number="2.2", text="Condition: HookHints MUST be immutable.")
291291
@Specification(spec="hooks", number="5.4", text="The hook MUST NOT alter the HookHints object.")
292-
@Specification(spec="hooks", number="6.1", text="HookHints MUST passed between each hook.")
292+
@Specification(spec="hooks", number="5.3", text="HookHints MUST be passed to each hook.")
293293
@Test void hook_hints() {
294294
OpenFeatureAPI api = OpenFeatureAPI.getInstance();
295295
api.setProvider(new NoOpProvider());
@@ -392,7 +392,6 @@ public void finallyAfter(HookContext<Boolean> ctx, ImmutableMap<String, Object>
392392

393393
@Specification(spec="hooks", number="1.4", text="The evaluation context MUST be mutable only within the before hook.")
394394
@Specification(spec="hooks", number="3.1", text="Hooks MUST specify at least one stage.")
395-
@Specification(spec="hooks", number="5.3", text="HookHints MUST be passed to each hook through a parameter. It is merged into the object in the precedence order API -> Client -> Invocation (last wins).")
396395
@Test @Disabled void todo() {}
397396

398397
@SneakyThrows

0 commit comments

Comments
 (0)