From 9650a85d9f89d6a1d4e4d532ae0e764f2a2519e1 Mon Sep 17 00:00:00 2001 From: Tim Vermeulen Date: Tue, 7 Sep 2021 22:38:07 +0200 Subject: [PATCH] Fix compiler error on Linux --- Tests/SwiftAlgorithmsTests/TestUtilities.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/SwiftAlgorithmsTests/TestUtilities.swift b/Tests/SwiftAlgorithmsTests/TestUtilities.swift index 2c24aed..68870bb 100644 --- a/Tests/SwiftAlgorithmsTests/TestUtilities.swift +++ b/Tests/SwiftAlgorithmsTests/TestUtilities.swift @@ -222,7 +222,7 @@ extension IndexValidator { expectedCount: Int? = nil, file: StaticString = #file, line: UInt = #line ) { - let indicesIncludingEnd = indicesIncludingEnd(collection) + let indicesIncludingEnd = self.indicesIncludingEnd(collection) let count = indicesIncludingEnd.count - 1 let validator = Validator( @@ -242,7 +242,7 @@ extension IndexValidator where C: BidirectionalCollection { _ collection: C, expectedCount: Int? = nil, file: StaticString = #file, line: UInt = #line ) { - let indicesIncludingEnd = indicesIncludingEnd(collection) + let indicesIncludingEnd = self.indicesIncludingEnd(collection) let count = indicesIncludingEnd.count - 1 let validator = Validator(