diff --git a/Sources/Testing/Traits/ConditionTrait.swift b/Sources/Testing/Traits/ConditionTrait.swift index a3b98c99d..eb3d1bd11 100644 --- a/Sources/Testing/Traits/ConditionTrait.swift +++ b/Sources/Testing/Traits/ConditionTrait.swift @@ -69,7 +69,10 @@ public struct ConditionTrait: TestTrait, SuiteTrait { /// /// The evaluation is performed each time this function is called, and is not /// cached. - @_spi(Experimental) + /// + /// @Metadata { + /// @Available(Swift, introduced: 6.2) + /// } public func evaluate() async throws -> Bool { switch kind { case let .conditional(condition): diff --git a/Tests/TestingTests/Traits/ConditionTraitTests.swift b/Tests/TestingTests/Traits/ConditionTraitTests.swift index 6b5311202..d957e425b 100644 --- a/Tests/TestingTests/Traits/ConditionTraitTests.swift +++ b/Tests/TestingTests/Traits/ConditionTraitTests.swift @@ -8,7 +8,7 @@ // See https://swift.org/CONTRIBUTORS.txt for Swift project authors // -@testable @_spi(Experimental) import Testing +@testable import Testing @Suite("Condition Trait Tests", .tags(.traitRelated)) struct ConditionTraitTests {