diff --git a/Tests/SwiftAlgorithmsTests/ReplaceSubrangeTests.swift b/Tests/SwiftAlgorithmsTests/ReplaceSubrangeTests.swift index ff5b9239..f57aae61 100644 --- a/Tests/SwiftAlgorithmsTests/ReplaceSubrangeTests.swift +++ b/Tests/SwiftAlgorithmsTests/ReplaceSubrangeTests.swift @@ -94,11 +94,23 @@ final class ReplaceSubrangeTests: XCTestCase { func testInsert() { - let base = 0..<10 - let i = base.index(base.startIndex, offsetBy: 5) - let result = base.lazy.replacingSubrange(i..