diff --git a/Package.swift b/Package.swift index 6b1b456..a32433d 100644 --- a/Package.swift +++ b/Package.swift @@ -33,7 +33,7 @@ let package = Package( ), .package( url: "https://github.com/pointfreeco/swift-macro-testing.git", - .upToNextMinor(from: "0.2.0") + .upToNextMinor(from: "0.2.2") ) ], targets: [ diff --git a/Tests/FoundationExtensionsMacrosTests/AssociatedObjectTests.swift b/Tests/FoundationExtensionsMacrosTests/AssociatedObjectTests.swift index 61ad5f2..c63975a 100644 --- a/Tests/FoundationExtensionsMacrosTests/AssociatedObjectTests.swift +++ b/Tests/FoundationExtensionsMacrosTests/AssociatedObjectTests.swift @@ -160,11 +160,12 @@ final class AssociatedObjectTests: XCTestCase { extension Object { @AssociatedObject("Hello, World") ╰─ 🛑 [internal] `@AssociatedObject` received unexpected args, submit an issue here: https://github.com/capturecontext/swift-foundation-extensions - ✏️ Remove arguments │ ✏️ Replace arguments + ✏️ Remove arguments + ✏️ Replace arguments var value: Int? } """ - } fixes: { + }fixes: { """ extension Object { @AssociatedObject @@ -211,11 +212,12 @@ final class AssociatedObjectTests: XCTestCase { extension Object { @AssociatedObject(.copy, .nonatomic, .readonly) ╰─ 🛑 [internal] `@AssociatedObject` received unexpected args, submit an issue here: https://github.com/capturecontext/swift-foundation-extensions - ✏️ Remove arguments │ ✏️ Replace arguments + ✏️ Remove arguments + ✏️ Replace arguments var value: Int? } """ - } fixes: { + }fixes: { """ extension Object { @AssociatedObject