summaryrefslogtreecommitdiff
path: root/HutchTests
diff options
context:
space:
mode:
Diffstat (limited to 'HutchTests')
-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