@@ -22,8 +22,12 @@ TEST(EvaluationDetailBindings, EvaluationReasonError) {
2222
2323TEST (EvaluationDetailBindings, EvaluationReasonFallthrough) {
2424 auto reason = EvaluationReason (EvaluationReason::Kind::kFallthrough ,
25- std::nullopt , std::nullopt , std::nullopt ,
26- std::nullopt , true , std::nullopt );
25+ /* error_kind= */ std::nullopt ,
26+ /* rule_index= */ std::nullopt ,
27+ /* rule_id= */ std::nullopt ,
28+ /* prerequisite_key= */ std::nullopt ,
29+ /* in_experiment= */ true ,
30+ EvaluationReason::BigSegmentsStatus::kNone );
2731 auto ld_reason = reinterpret_cast <LDEvalReason>(&reason);
2832
2933 ASSERT_EQ (LDEvalReason_Kind (ld_reason), LD_EVALREASON_FALLTHROUGH );
@@ -52,9 +56,13 @@ TEST(EvaluationDetailBindings, EvaluationDetailError) {
5256TEST (EvaluationDetailBindings, EvaluationDetailSuccess) {
5357 auto detail = CEvaluationDetail (EvaluationDetail<bool >(
5458 true , 42 ,
55- EvaluationReason (EvaluationReason::Kind::kFallthrough , std::nullopt ,
56- std::nullopt , std::nullopt , std::nullopt , true ,
57- std::nullopt )));
59+ EvaluationReason (EvaluationReason::Kind::kFallthrough ,
60+ /* error_kind= */ std::nullopt ,
61+ /* rule_index= */ std::nullopt ,
62+ /* rule_id= */ std::nullopt ,
63+ /* prerequisite_key= */ std::nullopt ,
64+ /* in_experiment= */ true ,
65+ EvaluationReason::BigSegmentsStatus::kNone )));
5866
5967 auto ld_detail = reinterpret_cast <LDEvalDetail>(&detail);
6068
0 commit comments