We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 539bd7e + 5b744ab commit f759bd4Copy full SHA for f759bd4
Sources/TestingMacros/ConditionMacro.swift
@@ -137,9 +137,9 @@ extension _ConditionMacro {
137
// Construct and return the call to __check().
138
let call: ExprSyntax = "Testing.\(expandedFunctionName)(\(LabeledExprListSyntax(checkArguments)))"
139
if isThrowing {
140
- return "\(raw: macro.leadingTrivia)\(call).__required()\(raw: macro.trailingTrivia)"
+ return "\(call).__required()"
141
}
142
- return "\(raw: macro.leadingTrivia)\(call).__expected()\(raw: macro.trailingTrivia)"
+ return "\(call).__expected()"
143
144
145
/// Get the complete argument list for a given macro, including any trailing
0 commit comments