From f48b52d9be2d7ffd58df9481f22c81269354a6f8 Mon Sep 17 00:00:00 2001 From: Denis Andrasec Date: Tue, 30 Jul 2024 10:50:22 +0200 Subject: [PATCH] =?UTF-8?q?run=20swiftling=20=E2=80=94autocorrect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/ios/RunnerTests/SentryFlutterTests.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flutter/example/ios/RunnerTests/SentryFlutterTests.swift b/flutter/example/ios/RunnerTests/SentryFlutterTests.swift index 910c262cd8..a6ea06123c 100644 --- a/flutter/example/ios/RunnerTests/SentryFlutterTests.swift +++ b/flutter/example/ios/RunnerTests/SentryFlutterTests.swift @@ -49,7 +49,7 @@ final class SentryFlutterTests: XCTestCase { "port": NSNumber(value: 8080), "type": "hTtP", // mixed case to check enum mapping "user": "admin", - "pass": "0000", + "pass": "0000" ] ] ) @@ -75,7 +75,7 @@ final class SentryFlutterTests: XCTestCase { XCTAssertEqual(false, fixture.options.enableCaptureFailedRequests) XCTAssertEqual(false, fixture.options.enableAppHangTracking) XCTAssertEqual(10, fixture.options.appHangTimeoutInterval) - + XCTAssertNotNil(fixture.options.urlSession) XCTAssertEqual(true, fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFNetworkProxiesHTTPEnable as String] as? Bool) XCTAssertEqual("localhost", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFNetworkProxiesHTTPProxy as String] as? String) @@ -83,7 +83,7 @@ final class SentryFlutterTests: XCTestCase { XCTAssertEqual("admin", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFProxyUsernameKey as String] as? String) XCTAssertEqual("0000", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFProxyPasswordKey as String] as? String) } - + func testUpdateSocksProxy() { let sut = fixture.getSut() @@ -95,11 +95,11 @@ final class SentryFlutterTests: XCTestCase { "port": 8080, "type": "sOcKs", // mixed case to check enum mapping "user": "admin", - "pass": "0000", + "pass": "0000" ] ] ) - + #if os(macOS) XCTAssertNotNil(fixture.options.urlSession) XCTAssertEqual(true, fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFNetworkProxiesSOCKSEnable as String] as? Bool)