diff --git a/Tests/BasicContainersTests/RigidDictionaryTests.swift b/Tests/BasicContainersTests/RigidDictionaryTests.swift index 5c438995..3d471690 100644 --- a/Tests/BasicContainersTests/RigidDictionaryTests.swift +++ b/Tests/BasicContainersTests/RigidDictionaryTests.swift @@ -274,6 +274,7 @@ class RigidDictionaryTests: CollectionTestCase { } } + @available(SwiftStdlib 6.4, *) func test_memoizedValue_returnsNewlyInsertedValue() { // Inserting a new key can displace existing entries (by swapping them // around in both small and hashed storage); `memoizedValue` must still diff --git a/Tests/BasicContainersTests/UniqueDictionaryTests.swift b/Tests/BasicContainersTests/UniqueDictionaryTests.swift index 5a90d825..77b19dc5 100644 --- a/Tests/BasicContainersTests/UniqueDictionaryTests.swift +++ b/Tests/BasicContainersTests/UniqueDictionaryTests.swift @@ -397,6 +397,7 @@ class UniqueDictionaryTests: CollectionTestCase { } } + @available(SwiftStdlib 6.4, *) func test_memoizedValue_returnsNewlyInsertedValue() { // Inserting a new key can displace existing entries (by swapping them // around in both small and hashed storage); `memoizedValue` must still