Skip to content

Commit

Permalink
run swiftling —autocorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Jul 30, 2024
1 parent 4bbf911 commit f48b52d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions flutter/example/ios/RunnerTests/SentryFlutterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
]
)
Expand All @@ -75,15 +75,15 @@ 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)

Check failure on line 80 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 146 characters (line_length)
XCTAssertEqual("localhost", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFNetworkProxiesHTTPProxy as String] as? String)

Check failure on line 81 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 154 characters (line_length)
XCTAssertEqual(8080, fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFNetworkProxiesHTTPPort as String] as? Int)

Check failure on line 82 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 143 characters (line_length)
XCTAssertEqual("admin", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFProxyUsernameKey as String] as? String)

Check failure on line 83 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 143 characters (line_length)
XCTAssertEqual("0000", fixture.options.urlSession?.configuration.connectionProxyDictionary?[kCFProxyPasswordKey as String] as? String)

Check failure on line 84 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 142 characters (line_length)
}

func testUpdateSocksProxy() {
let sut = fixture.getSut()

Expand All @@ -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)

Check failure on line 105 in flutter/example/ios/RunnerTests/SentryFlutterTests.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Line Length Violation: Line should be 120 characters or less; currently it has 147 characters (line_length)
Expand Down

0 comments on commit f48b52d

Please sign in to comment.