Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Jan 20, 2025
1 parent 1552bab commit 1036b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/MacroTestingTests/MacroExamples/URLMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public enum URLMacro: ExpressionMacro {
throw CustomError.message("#URL requires a static string literal")
}

guard let _ = URL(string: literalSegment.content.text) else {
guard URL(string: literalSegment.content.text) != nil else {
throw CustomError.message("malformed url: \(argument)")
}

Expand Down

0 comments on commit 1036b14

Please sign in to comment.