Skip to content

Commit

Permalink
feat: Update swift-macro-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
maximkrouk committed Dec 16, 2023
1 parent 7cf7d04 commit 2a1286a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2a1286a

Please sign in to comment.