Skip to content

Commit 87c9117

Browse files
committed
Remove nonisolated(unsafe) from macros definitions
Updated the macros variable in test files to remove the nonisolated(unsafe) attribute, making the declaration standard. This change improves code clarity and consistency across CodableKit, DecodableKit, and EncodableKit test suites.
1 parent 25bcb96 commit 87c9117

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Tests/CodableKitTests/Defines.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SwiftSyntaxMacrosGenericTestSupport
1414
import SwiftSyntaxMacrosTestSupport
1515
import Testing
1616

17-
nonisolated(unsafe) let macros: [String: any Macro.Type] = [
17+
let macros: [String: any Macro.Type] = [
1818
"Codable": CodableMacro.self,
1919
"CodableKey": CodableKeyMacro.self,
2020
"DecodableKey": DecodableKeyMacro.self,

Tests/DecodableKitTests/Defines.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SwiftSyntaxMacrosGenericTestSupport
1414
import SwiftSyntaxMacrosTestSupport
1515
import Testing
1616

17-
nonisolated(unsafe) let macros: [String: any Macro.Type] = [
17+
let macros: [String: any Macro.Type] = [
1818
"Codable": CodableMacro.self,
1919
"CodableKey": CodableKeyMacro.self,
2020
"DecodableKey": DecodableKeyMacro.self,

Tests/EncodableKitTests/Defines.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import SwiftSyntaxMacrosGenericTestSupport
1414
import SwiftSyntaxMacrosTestSupport
1515
import Testing
1616

17-
nonisolated(unsafe) let macros: [String: any Macro.Type] = [
17+
let macros: [String: any Macro.Type] = [
1818
"Codable": CodableMacro.self,
1919
"CodableKey": CodableKeyMacro.self,
2020
"DecodableKey": DecodableKeyMacro.self,

0 commit comments

Comments
 (0)