summaryrefslogtreecommitdiff
path: root/HutchTests/SRHTWebURLTests.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-11 23:36:35 -0500
committerChristian Cleberg <[email protected]>2026-04-11 23:36:35 -0500
commit00cc231e9b419d27b412036d93457c2cbabe0b16 (patch)
tree6b042b802fcddcd1e03f1ae0f666965620225485 /HutchTests/SRHTWebURLTests.swift
parent0fde7529ceaebf1cd9baa01826d95d587023d001 (diff)
downloadhutch-00cc231e9b419d27b412036d93457c2cbabe0b16.tar.gz
hutch-00cc231e9b419d27b412036d93457c2cbabe0b16.tar.bz2
hutch-00cc231e9b419d27b412036d93457c2cbabe0b16.zip
Add SourceHut system status screen and home disruption banner
Diffstat (limited to 'HutchTests/SRHTWebURLTests.swift')
-rw-r--r--HutchTests/SRHTWebURLTests.swift12
1 files changed, 12 insertions, 0 deletions
diff --git a/HutchTests/SRHTWebURLTests.swift b/HutchTests/SRHTWebURLTests.swift
new file mode 100644
index 0000000..15f242d
--- /dev/null
+++ b/HutchTests/SRHTWebURLTests.swift
@@ -0,0 +1,12 @@
+import Foundation
+import Testing
+@testable import Hutch
+
+struct SRHTWebURLTests {
+
+ @Test
+ func browserOnlyServiceURLsUseCanonicalHosts() {
+ #expect(SRHTWebURL.chat.absoluteString == "https://chat.sr.ht")
+ #expect(SRHTWebURL.status.absoluteString == "https://status.sr.ht")
+ }
+}