krz/hutch

an ios client for sourcehut

clone: git clone https://gitbay.org/krz/hutch.git

04fae8d7fb3726b4d1b4c2576ece04766d2afe74

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2026-08-02T14:28:04Z

Update test fixtures to root@krz.sh email
 HutchTests/InboxViewModelTests.swift | 4 ++--
 HutchTests/ReadmeViewTests.swift     | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HutchTests/InboxViewModelTests.swift b/HutchTests/InboxViewModelTests.swift
index 79cf54c..5780b6a 100644
--- a/HutchTests/InboxViewModelTests.swift
+++ b/HutchTests/InboxViewModelTests.swift
@@ -272,7 +272,7 @@ struct InboxViewModelTests {
     @Test
     func segmentsPatchBodyAndTreatsSignatureAsPlainText() {
         let body = """
-        From: Christian Cleberg <hello@cleberg.net>
+        From: Christian Cleberg <root@krz.sh>
 
         ---
          test-patch.txt | 1 +
@@ -298,7 +298,7 @@ struct InboxViewModelTests {
             Issue.record("Expected first segment to be plain text")
             return
         }
-        #expect(leadingPlainText.contains("From: Christian Cleberg <hello@cleberg.net>"))
+        #expect(leadingPlainText.contains("From: Christian Cleberg <root@krz.sh>"))
         #expect(leadingPlainText.contains("---"))
         #expect(leadingPlainText.contains(" test-patch.txt | 1 +"))
         #expect(leadingPlainText.contains(" 1 file changed, 1 insertion(+)"))
diff --git a/HutchTests/ReadmeViewTests.swift b/HutchTests/ReadmeViewTests.swift
index 08e602d..9e053b8 100644
--- a/HutchTests/ReadmeViewTests.swift
+++ b/HutchTests/ReadmeViewTests.swift
@@ -169,10 +169,10 @@ struct MarkdownRenderingTests {
 
     @Test
     func markdownPlainEmailAutolinks() {
-        let html = processInline("Contact hello@cleberg.net")
+        let html = processInline("Contact root@krz.sh")
 
-        #expect(html.contains(#"href="mailto:hello@cleberg.net""#))
-        #expect(html.contains(">hello@cleberg.net</a>"))
+        #expect(html.contains(#"href="mailto:root@krz.sh""#))
+        #expect(html.contains(">root@krz.sh</a>"))
     }
 
     @Test