Skip to content

Commit a3a77c1

Browse files
committed
fix: update dependencies and fix error type reference
- Update swift-rfc-1123 to 0.3.1 - Fix RFC_1123.Domain.ValidationError to RFC_1123.Domain.Error
1 parent 66b74c4 commit a3a77c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let package = Package(
1515
],
1616
dependencies: [
1717
.package(url: "https://github.com/swift-standards/swift-incits-4-1986.git", from: "0.1.0"),
18-
.package(url: "https://github.com/swift-standards/swift-rfc-1123.git", from: "0.0.1")
18+
.package(url: "https://github.com/swift-standards/swift-rfc-1123.git", from: "0.3.1")
1919
],
2020
targets: [
2121
.target(

Tests/RFC 5321 Tests/RFC 5321 Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct `RFC 5321 Domain Tests` {
2020

2121
@Test
2222
func `Fails with empty address literal`() throws {
23-
#expect(throws: Domain.ValidationError.self) {
23+
#expect(throws: RFC_1123.Domain.Error.self) {
2424
_ = try RFC_1123.Domain("[]")
2525
}
2626
}

0 commit comments

Comments
 (0)