File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Sources/SwiftSyntaxMacrosTestSupport
Tests/SwiftSyntaxMacroExpansionTest Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public typealias DiagnosticSpec = SwiftSyntaxMacrosGenericTestSupport.Diagnostic
5151/// - indentationWidth: The indentation width used in the expansion.
5252/// - buildConfiguration: a build configuration that will be made available
5353/// to the macro implementation
54- /// - SeeAlso: ``assertMacroExpansion(_:expandedSource:diagnostics:macroSpecs:applyFixIts:fixedSource:testModuleName:testFileName:indentationWidth:buildConfiguration:file:line:)``
54+ /// - SeeAlso: ``assertMacroExpansion(_:expandedSource:diagnostics:macroSpecs:applyFixIts:fixedSource:testModuleName:testFileName:indentationWidth:buildConfiguration:fileID: file:line:column :)``
5555/// to also specify the list of conformances passed to the macro expansion.
5656public func assertMacroExpansion(
5757 _ originalSource: String ,
Original file line number Diff line number Diff line change 1+ //===----------------------------------------------------------------------===//
2+ //
3+ // This source file is part of the Swift.org open source project
4+ //
5+ // Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
6+ // Licensed under Apache License v2.0 with Runtime Library Exception
7+ //
8+ // See https://swift.org/LICENSE.txt for license information
9+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+ //
11+ //===----------------------------------------------------------------------===//
12+
113#if canImport(Testing)
214import Testing
315import SwiftSyntaxMacrosTestSupport
You can’t perform that action at this time.
0 commit comments