From e72a9bb5d387c3e85d3e62369c6dfca8cfae81cb Mon Sep 17 00:00:00 2001 From: Connor Neville Date: Sun, 21 Jul 2024 10:41:01 -0400 Subject: [PATCH] Fix deprecation warnings in tests. --- .../StaticMemberSwitchable_FailureTests.swift | 2 +- .../StaticMemberSwitchable_SuccessTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_FailureTests.swift b/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_FailureTests.swift index d1a3bed..89ad06d 100644 --- a/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_FailureTests.swift +++ b/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_FailureTests.swift @@ -6,7 +6,7 @@ final class StaticMemberSwitchable_FailureTests: XCTestCase { override func invokeTest() { withMacroTesting( - isRecording: false, + record: false, macros: ["StaticMemberSwitchable": StaticMemberSwitchableMacro.self] ) { super.invokeTest() diff --git a/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_SuccessTests.swift b/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_SuccessTests.swift index e82a4f8..a477ba3 100644 --- a/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_SuccessTests.swift +++ b/Tests/StaticMemberSwitchableTests/StaticMemberSwitchable_SuccessTests.swift @@ -6,7 +6,7 @@ final class StaticMemberSwitchable_SuccessTests: XCTestCase { override func invokeTest() { withMacroTesting( - isRecording: false, + record: false, macros: ["StaticMemberSwitchable": StaticMemberSwitchableMacro.self] ) { super.invokeTest()