diff --git a/Tests/MacroTestingTests/MacroExamples/OptionSetMacro.swift b/Tests/MacroTestingTests/MacroExamples/OptionSetMacro.swift index 80b22c8..f2db89f 100644 --- a/Tests/MacroTestingTests/MacroExamples/OptionSetMacro.swift +++ b/Tests/MacroTestingTests/MacroExamples/OptionSetMacro.swift @@ -156,7 +156,7 @@ extension OptionSetMacro: ExtensionMacro { // If there is an explicit conformance to OptionSet already, don't add one. if let inheritedTypes = structDecl.inheritanceClause?.inheritedTypes, inheritedTypes.contains(where: { inherited in inherited.type.trimmedDescription == "OptionSet" - }) + }) { return [] }