Skip to content

Commit 0ae4a65

Browse files
[FSSDK-11547] lint fix
1 parent fcbfed6 commit 0ae4a65

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

OptimizelySDK.Tests/DecisionServiceHoldoutTest.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public void TestGetVariationsForFeatureList_Holdout_DecisionReasons()
250250
[Test]
251251
public void TestImpressionEventForHoldout()
252252
{
253-
var featureFlag = Config.FeatureKeyMap["test_flag_1"];
253+
var featureFlag = Config.FeatureKeyMap["test_flag_1"];
254254
var userAttributes = new UserAttributes();
255255

256256
var eventDispatcher = new Event.Dispatcher.DefaultEventDispatcher(LoggerMock.Object);
@@ -271,24 +271,24 @@ public void TestImpressionEventForHoldout()
271271

272272
Assert.IsNotNull(decision, "Decision should not be null");
273273
Assert.IsNotNull(decision.RuleKey, "RuleKey should not be null");
274-
274+
275275
var actualHoldout = Config.Holdouts?.FirstOrDefault(h => h.Key == decision.RuleKey);
276276

277-
Assert.IsNotNull(actualHoldout,
277+
Assert.IsNotNull(actualHoldout,
278278
$"RuleKey '{decision.RuleKey}' should correspond to a holdout experiment");
279279
Assert.AreEqual(featureFlag.Key, decision.FlagKey, "Flag key should match");
280-
280+
281281
var holdoutVariation = actualHoldout.Variations.FirstOrDefault(v => v.Key == decision.VariationKey);
282282

283-
Assert.IsNotNull(holdoutVariation,
283+
Assert.IsNotNull(holdoutVariation,
284284
$"Variation '{decision.VariationKey}' should be from the chosen holdout '{actualHoldout.Key}'");
285-
285+
286286
Assert.AreEqual(holdoutVariation.FeatureEnabled, decision.Enabled,
287287
"Enabled flag should match holdout variation's featureEnabled value");
288-
288+
289289
EventProcessorMock.Verify(ep => ep.Process(It.IsAny<ImpressionEvent>()), Times.Once,
290290
"Impression event should be processed exactly once for holdout decision");
291-
291+
292292
EventProcessorMock.Verify(ep => ep.Process(It.Is<ImpressionEvent>(ie =>
293293
ie.Experiment.Key == actualHoldout.Key &&
294294
ie.Experiment.Id == actualHoldout.Id &&
@@ -321,13 +321,13 @@ public void TestImpressionEventForHoldout_DisableDecisionEvent()
321321

322322
Assert.IsNotNull(decision, "Decision should not be null");
323323
Assert.IsNotNull(decision.RuleKey, "User should be bucketed into a holdout");
324-
324+
325325
var chosenHoldout = Config.Holdouts?.FirstOrDefault(h => h.Key == decision.RuleKey);
326326

327327
Assert.IsNotNull(chosenHoldout, $"Holdout '{decision.RuleKey}' should exist in config");
328-
328+
329329
Assert.AreEqual(featureFlag.Key, decision.FlagKey, "Flag key should match");
330-
330+
331331
EventProcessorMock.Verify(ep => ep.Process(It.IsAny<ImpressionEvent>()), Times.Never,
332332
"No impression event should be processed when DISABLE_DECISION_EVENT option is used");
333333
}

0 commit comments

Comments
 (0)