Skip to content

Commit 4375a1c

Browse files
authored
Transition to swift-macro-testing for Macro Testing (#16)
* use point frees macro testing library * swift-format * remove useless inline snapshots
1 parent 687075e commit 4375a1c

File tree

3 files changed

+294
-269
lines changed

3 files changed

+294
-269
lines changed

Package.resolved

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ let package = Package(
1919
),
2020
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0"),
2121
.package(url: "https://github.com/SwiftPackageIndex/SPIManifest.git", from: "0.12.0"),
22+
.package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.4.0"),
2223
],
2324
targets: [
2425
// Implementations of macros tested by tests
@@ -49,9 +50,9 @@ let package = Package(
4950
dependencies: [
5051
"MacroToolkitExamplePlugin",
5152
"MacroToolkit",
53+
.product(name: "MacroTesting", package: "swift-macro-testing"),
5254
.product(name: "SwiftSyntax", package: "swift-syntax"),
53-
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
54-
.product(name: "SwiftSyntaxMacrosTestSupport", package: "swift-syntax"),
55+
.product(name: "SwiftSyntaxMacros", package: "swift-syntax")
5556
]
5657
),
5758
]

0 commit comments

Comments
 (0)