Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/num42/swift-macrohelper.git", from: "1.1.0"),
.package(url: "https://github.com/num42/swift-macrotester.git", from: "2.3.0"),
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "603.0.0"),
.package(url: "https://github.com/num42/swift-macrotesthelper.git", from: "1.0.0"),
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "603.0.2"),
],
targets: [
.macro(
Expand All @@ -49,7 +50,7 @@ let package = Package(
dependencies: [
.target(name: "\(name)Macros"),
.product(name: "MacroTester", package: "swift-macrotester"),
.product(name: "SwiftSyntaxMacroExpansion", package: "swift-syntax"),
.product(name: "MacroTestHelper", package: "swift-macrotesthelper"),
.product(name: "SwiftSyntaxMacrosGenericTestSupport", package: "swift-syntax"),
],
path: "Tests/MacroTests",
Expand Down
41 changes: 0 additions & 41 deletions Tests/MacroTests/AssertMacroExpansion.swift

This file was deleted.

3 changes: 2 additions & 1 deletion Tests/MacroTests/DiagnosticsTests.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
internal import MacroTestHelper
internal import SwiftSyntaxMacrosGenericTestSupport
internal import Testing

Expand All @@ -7,7 +8,7 @@ internal import Testing
@Suite
struct CaseDetectionDiagnosticsTests {
@Test func structThrowsError() throws {
assertMacroExpansion(
MacroTestHelper.assertMacroExpansion(
"""
@CaseDetection
struct AStruct {}
Expand Down