diff options
| author | Christian Cleberg <[email protected]> | 2026-08-07 17:41:00 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-07 17:41:00 -0500 |
| commit | ff200d21e93d6683f779fe1f3280ac8d8561d393 (patch) | |
| tree | f6603518ba62134faa699d864003b90464930ab9 /HutchTests/SystemStatusRepositoryTests.swift | |
| parent | 9d85bc7c154843693913bf0cc67c6e9ff0d8f897 (diff) | |
| parent | 283fbf00fdffd64c924b6cb22c84e803b718f078 (diff) | |
| download | hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.gz hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.bz2 hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.zip | |
Adopt Swift 6 language mode
Diffstat (limited to 'HutchTests/SystemStatusRepositoryTests.swift')
| -rw-r--r-- | HutchTests/SystemStatusRepositoryTests.swift | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/HutchTests/SystemStatusRepositoryTests.swift b/HutchTests/SystemStatusRepositoryTests.swift index 56fa7c0..45d32b9 100644 --- a/HutchTests/SystemStatusRepositoryTests.swift +++ b/HutchTests/SystemStatusRepositoryTests.swift @@ -2,6 +2,7 @@ import Foundation import Testing @testable import Hutch +@MainActor struct SystemStatusRepositoryTests { @Test @@ -111,21 +112,21 @@ private struct TestSystemStatusService: SystemStatusServing { } private extension SystemStatusRepositoryTests { - static let cachedSnapshotHTML = #""" + nonisolated static let cachedSnapshotHTML = #""" <div class="component" data-status="disrupted"> <a href="/affected/git.sr.ht/">git.sr.ht</a> <span class="component-status">Disrupted</span> </div> """# - static let cachedOperationalHTML = #""" + nonisolated static let cachedOperationalHTML = #""" <div class="component" data-status="ok"> <a href="/affected/meta.sr.ht/">meta.sr.ht</a> <span class="component-status">Operational</span> </div> """# - static let cachedIncidentRSS = #""" + nonisolated static let cachedIncidentRSS = #""" <rss version="2.0"> <channel> <item> @@ -139,7 +140,7 @@ private extension SystemStatusRepositoryTests { </rss> """# - static let emptyRSS = #""" + nonisolated static let emptyRSS = #""" <rss version="2.0"> <channel></channel> </rss> |
