summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-02 09:28:04 -0500
committerChristian Cleberg <[email protected]>2026-08-02 09:28:56 -0500
commit04fae8d7fb3726b4d1b4c2576ece04766d2afe74 (patch)
tree65f6af695a8b20679b421c3cd439f045ca29c0c3
parent1156ab1b314b9b69e16fdc5fc9ff6eb3861b4588 (diff)
downloadhutch-04fae8d7fb3726b4d1b4c2576ece04766d2afe74.tar.gz
hutch-04fae8d7fb3726b4d1b4c2576ece04766d2afe74.tar.bz2
hutch-04fae8d7fb3726b4d1b4c2576ece04766d2afe74.zip
Update test fixtures to [email protected] email
-rw-r--r--HutchTests/InboxViewModelTests.swift4
-rw-r--r--HutchTests/ReadmeViewTests.swift6
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 <[email protected]>
+ From: Christian Cleberg <[email protected]>
---
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 <[email protected]>"))
+ #expect(leadingPlainText.contains("From: Christian Cleberg <[email protected]>"))
#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 [email protected]")
+ let html = processInline("Contact [email protected]")
- #expect(html.contains(#"href="mailto:[email protected]""#))
- #expect(html.contains(">[email protected]</a>"))
+ #expect(html.contains(#"href="mailto:[email protected]""#))
+ #expect(html.contains(">[email protected]</a>"))
}
@Test