Skip to content

Commit 02e57b1

Browse files
committed
updating boolflag test so flag created is in lines with the rules for bool flags on the UI (identifiers for variations must me true/false only)
1 parent 66d34db commit 02e57b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evaluation/feature_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,13 +546,13 @@ func TestFeatureConfig_EvaluateWithPreReqFlags(t *testing.T) {
546546
onBool := Variation{
547547
Name: stringPtr("On"),
548548
Value: "true",
549-
Identifier: "on",
549+
Identifier: "true",
550550
}
551551

552552
offBool := Variation{
553553
Name: stringPtr("Off"),
554554
Value: "false",
555-
Identifier: "off",
555+
Identifier: "false",
556556
}
557557

558558
target := Target{

0 commit comments

Comments
 (0)