Skip to content

Commit

Permalink
Fix compiler error on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Vermeulen committed Sep 8, 2021
1 parent 9c81fc6 commit 9650a85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/SwiftAlgorithmsTests/TestUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit 9650a85

Please sign in to comment.