Commit 1cc1ed1fba

1cc1ed1fba715eeb6b8bbc82f7f3c1e032321829

parent: 91eee6a138

Unsigned

cmc <hello@cleberg.net> · 2026-08-02 14:28 UTC

Update test fixtures to root@krz.sh email

Layout: unified · split

HutchTests/InboxViewModelTests.swift +2 −2
@@ -272,7 +272,7 @@ struct InboxViewModelTests {
272 @Test 272 @Test
273 func segmentsPatchBodyAndTreatsSignatureAsPlainText() { 273 func segmentsPatchBodyAndTreatsSignatureAsPlainText() {
274 let body = """ 274 let body = """
275 From: Christian Cleberg <hello@cleberg.net> 275 From: Christian Cleberg <root@krz.sh>
276 276
277 --- 277 ---
278 test-patch.txt | 1 + 278 test-patch.txt | 1 +
@@ -298,7 +298,7 @@ struct InboxViewModelTests {
298 Issue.record("Expected first segment to be plain text") 298 Issue.record("Expected first segment to be plain text")
299 return 299 return
300 } 300 }
301 #expect(leadingPlainText.contains("From: Christian Cleberg <hello@cleberg.net>")) 301 #expect(leadingPlainText.contains("From: Christian Cleberg <root@krz.sh>"))
302 #expect(leadingPlainText.contains("---")) 302 #expect(leadingPlainText.contains("---"))
303 #expect(leadingPlainText.contains(" test-patch.txt | 1 +")) 303 #expect(leadingPlainText.contains(" test-patch.txt | 1 +"))
304 #expect(leadingPlainText.contains(" 1 file changed, 1 insertion(+)")) 304 #expect(leadingPlainText.contains(" 1 file changed, 1 insertion(+)"))
HutchTests/ReadmeViewTests.swift +3 −3
@@ -169,10 +169,10 @@ struct MarkdownRenderingTests {
169 169
170 @Test 170 @Test
171 func markdownPlainEmailAutolinks() { 171 func markdownPlainEmailAutolinks() {
172 let html = processInline("Contact hello@cleberg.net") 172 let html = processInline("Contact root@krz.sh")
173 173
174 #expect(html.contains(#"href="mailto:hello@cleberg.net""#)) 174 #expect(html.contains(#"href="mailto:root@krz.sh""#))
175 #expect(html.contains(">hello@cleberg.net</a>")) 175 #expect(html.contains(">root@krz.sh</a>"))
176 } 176 }
177 177
178 @Test 178 @Test