From 511f3a809b7d6618a10bd4d0c07fb8f969e514a5 Mon Sep 17 00:00:00 2001 From: Sabrina Tardio Date: Tue, 17 Dec 2024 09:54:11 +0100 Subject: [PATCH] fix linting --- Sources/PixelExperimentKit/PixelExperimentKit.swift | 6 +++--- Tests/PixelExperimentKitTests/PixelExperimentKitTests.swift | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Sources/PixelExperimentKit/PixelExperimentKit.swift b/Sources/PixelExperimentKit/PixelExperimentKit.swift index f08d1d741..3b8587d47 100644 --- a/Sources/PixelExperimentKit/PixelExperimentKit.swift +++ b/Sources/PixelExperimentKit/PixelExperimentKit.swift @@ -114,9 +114,9 @@ extension PixelKit { /// 2. Ensures the user is within the specified conversion window. /// 3. Tracks actions performed and sends the pixel once the target value is reached (if applicable). public static func fireExperimentPixelWhenReachingNumberOfCalls(for subfeatureID: SubfeatureID, - metric: String, - conversionWindowDays: ConversionWindow, - numberOfCalls: Int) { + metric: String, + conversionWindowDays: ConversionWindow, + numberOfCalls: Int) { // Check is active experiment for user guard let featureFlagger = ExperimentConfig.featureFlagger else { assertionFailure("PixelKit is not configured for experiments") diff --git a/Tests/PixelExperimentKitTests/PixelExperimentKitTests.swift b/Tests/PixelExperimentKitTests/PixelExperimentKitTests.swift index 1e47b5c1f..ff5c7daa9 100644 --- a/Tests/PixelExperimentKitTests/PixelExperimentKitTests.swift +++ b/Tests/PixelExperimentKitTests/PixelExperimentKitTests.swift @@ -156,7 +156,6 @@ final class PixelExperimentKitTests: XCTestCase { XCTAssertEqual(mockPixelStore.store.count, 0) } - func testFireExperimentPixel_WithValidExperimentAndConversionWindowAndValue1() { // GIVEN let subfeatureID = "credentialsSaving"