From fd49eb28f52d734b3e19a503cf701d79397d3889 Mon Sep 17 00:00:00 2001 From: stephencelis Date: Sat, 27 Jan 2024 01:08:50 +0000 Subject: [PATCH] Run swift-format --- .../ObservableStateMacro.swift | 6 ++---- Tests/ComposableArchitectureTests/ObserveTests.swift | 9 ++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Sources/ComposableArchitectureMacros/ObservableStateMacro.swift b/Sources/ComposableArchitectureMacros/ObservableStateMacro.swift index 81dd49f26f15..5fd3d9cd3fd8 100644 --- a/Sources/ComposableArchitectureMacros/ObservableStateMacro.swift +++ b/Sources/ComposableArchitectureMacros/ObservableStateMacro.swift @@ -431,12 +431,10 @@ extension ObservableStateMacro: ExtensionMacro { } return [ - ( - """ + (""" extension \(raw: type.trimmedDescription): \(raw: qualifiedConformanceName), \ Observation.Observable {} - """ as DeclSyntax - ) + """ as DeclSyntax) .cast(ExtensionDeclSyntax.self) ] } diff --git a/Tests/ComposableArchitectureTests/ObserveTests.swift b/Tests/ComposableArchitectureTests/ObserveTests.swift index e13f1973567d..4f9ca8269e47 100644 --- a/Tests/ComposableArchitectureTests/ObserveTests.swift +++ b/Tests/ComposableArchitectureTests/ObserveTests.swift @@ -33,10 +33,9 @@ } } -@Perceptible -class Model { - var count = 0 -} + @Perceptible + class Model { + var count = 0 + } #endif -