diff options
| author | Bug Magnet <marco.nikic@mullvad.net> | 2024-04-17 10:01:40 +0200 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-04-17 10:18:55 +0200 |
| commit | 7f1efa0fe1677d622cee54bbd725b36454175605 (patch) | |
| tree | 30e5c3f2940312379ecb353c6dd9491eb2844061 | |
| parent | 35dd2a4c0f6d7692c6b4f74f0f50edd8c73a669f (diff) | |
| download | mullvadvpn-7f1efa0fe1677d622cee54bbd725b36454175605.tar.xz mullvadvpn-7f1efa0fe1677d622cee54bbd725b36454175605.zip | |
Fix formatting issues with swiftformat
| -rw-r--r-- | ios/MullvadVPNTests/LogRotationTests.swift | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/ios/MullvadVPNTests/LogRotationTests.swift b/ios/MullvadVPNTests/LogRotationTests.swift index e67687c3a2..4d7baf6212 100644 --- a/ios/MullvadVPNTests/LogRotationTests.swift +++ b/ios/MullvadVPNTests/LogRotationTests.swift @@ -37,16 +37,22 @@ final class LogRotationTests: XCTestCase { try writeDataToDisk(path: logPath, fileSize: 1000) } - try LogRotation.rotateLogs(logDirectory: directoryPath, options: LogRotation.Options( - storageSizeLimit: 5000, - oldestAllowedDate: .distantPast) + try LogRotation.rotateLogs( + logDirectory: directoryPath, + options: LogRotation.Options( + storageSizeLimit: 5000, + oldestAllowedDate: .distantPast + ) ) var logFileCount = try fileManager.contentsOfDirectory(atPath: directoryPath.relativePath).count XCTAssertEqual(logFileCount, 5) - try LogRotation.rotateLogs(logDirectory: directoryPath, options: LogRotation.Options( - storageSizeLimit: 3999, - oldestAllowedDate: .distantPast) + try LogRotation.rotateLogs( + logDirectory: directoryPath, + options: LogRotation.Options( + storageSizeLimit: 3999, + oldestAllowedDate: .distantPast + ) ) logFileCount = try fileManager.contentsOfDirectory(atPath: directoryPath.relativePath).count XCTAssertEqual(logFileCount, 3) |
