diff options
| -rw-r--r-- | DomainDig/AppLinks.swift | 2 | ||||
| -rw-r--r-- | DomainDigTests/AppInfoTests.swift | 8 | ||||
| -rw-r--r-- | README.md | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/DomainDig/AppLinks.swift b/DomainDig/AppLinks.swift index cdbd9fc..55310fc 100644 --- a/DomainDig/AppLinks.swift +++ b/DomainDig/AppLinks.swift @@ -12,7 +12,7 @@ enum AppLinks { static let sourceCode = url("https://github.com/zerolabsco/domain-dig") static let documentation = url("https://github.com/zerolabsco/domain-dig#readme") static let privacyPolicy = url("https://zerolabs.sh/domaindig/privacy-policy/") - static let supportEmail = "[email protected]" + static let supportEmail = "[email protected]" static var appStoreListing: URL { url("https://apps.apple.com/app/id\(appStoreID)") } static var writeReview: URL { url("https://apps.apple.com/app/id\(appStoreID)?action=write-review") } diff --git a/DomainDigTests/AppInfoTests.swift b/DomainDigTests/AppInfoTests.swift index 5b574f7..da74b81 100644 --- a/DomainDigTests/AppInfoTests.swift +++ b/DomainDigTests/AppInfoTests.swift @@ -7,21 +7,21 @@ final class AppInfoTests: XCTestCase { func testMailURLEncodesSubjectAndBody() throws { let url = try XCTUnwrap(AppInfoView.mailURL( - to: "[email protected]", + to: "[email protected]", subject: "DomainDig Issue Report", body: "line one\nline two" )) XCTAssertEqual(url.scheme, "mailto") let string = url.absoluteString - XCTAssertTrue(string.hasPrefix("mailto:[email protected]?")) + XCTAssertTrue(string.hasPrefix("mailto:[email protected]?")) XCTAssertTrue(string.contains("subject=DomainDig%20Issue%20Report")) XCTAssertTrue(string.contains("body=line%20one%0Aline%20two")) } func testMailURLOmitsEmptyQueryItems() throws { - let url = try XCTUnwrap(AppInfoView.mailURL(to: "[email protected]", subject: "", body: "")) - XCTAssertEqual(url.absoluteString, "mailto:[email protected]") + let url = try XCTUnwrap(AppInfoView.mailURL(to: "[email protected]", subject: "", body: "")) + XCTAssertEqual(url.absoluteString, "mailto:[email protected]") } func testVersionDisplayPairsMarketingVersionAndBuild() { @@ -105,4 +105,4 @@ This project is licensed under the MIT License. See `LICENSE`. ## Contact -Questions or feedback: [email protected] +Questions or feedback: [email protected] |
