Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ private static List<TestCase<?>> evaluateTestCases() {
new TestCase<>("default")
.flag("simple-string")
.result(new Result<>("default").reason(ERROR.name()).errorCode(TARGETING_KEY_MISSING)),
// OF.7: Empty string is a valid targeting key - evaluation should proceed as normal
new TestCase<>("default")
.flag("simple-string")
.targetingKey("")
.result(new Result<>("test-value").reason(TARGETING_MATCH.name()).variant("on")),
new TestCase<>("default")
.flag("non-existent-flag")
.targetingKey("user-123")
Expand Down
Loading