summaryrefslogtreecommitdiff
path: root/HutchTests/SRHTWebURLTests.swift
diff options
context:
space:
mode:
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")
+ }
+}