summaryrefslogtreecommitdiff
path: root/HutchTests/SystemStatusRepositoryTests.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-07 17:41:00 -0500
committerGitHub <[email protected]>2026-08-07 17:41:00 -0500
commitff200d21e93d6683f779fe1f3280ac8d8561d393 (patch)
treef6603518ba62134faa699d864003b90464930ab9 /HutchTests/SystemStatusRepositoryTests.swift
parent9d85bc7c154843693913bf0cc67c6e9ff0d8f897 (diff)
parent283fbf00fdffd64c924b6cb22c84e803b718f078 (diff)
downloadhutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.gz
hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.tar.bz2
hutch-ff200d21e93d6683f779fe1f3280ac8d8561d393.zip
Merge pull request #39 from krazywarez/fix-actor-isolationHEADmain
Adopt Swift 6 language mode
Diffstat (limited to 'HutchTests/SystemStatusRepositoryTests.swift')
-rw-r--r--HutchTests/SystemStatusRepositoryTests.swift9
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>