@@ -467,7 +467,7 @@ public func checkOneLevelOfForwardCollection<
467
467
}
468
468
}
469
469
470
- var allIndices = Array ( collection. indices)
470
+ let allIndices = Array ( collection. indices)
471
471
472
472
if expectedArray. count >= 2 {
473
473
for i in 0 ..< allIndices. count- 1 {
@@ -693,7 +693,7 @@ public func checkOneLevelOfBidirectionalCollection<
693
693
}
694
694
}
695
695
696
- var allIndices = Array ( collection. indices)
696
+ let allIndices = Array ( collection. indices)
697
697
698
698
if expectedArray. count >= 2 {
699
699
for i in 0 ..< allIndices. count- 1 {
@@ -978,7 +978,7 @@ public func checkOneLevelOfRandomAccessCollection<
978
978
}
979
979
}
980
980
981
- var allIndices = Array ( collection. indices)
981
+ let allIndices = Array ( collection. indices)
982
982
983
983
if expectedArray. count >= 2 {
984
984
for i in 0 ..< allIndices. count- 1 {
@@ -1237,7 +1237,7 @@ public func checkOneLevelOfForwardCollection<
1237
1237
}
1238
1238
}
1239
1239
1240
- var allIndices = Array ( collection. indices)
1240
+ let allIndices = Array ( collection. indices)
1241
1241
1242
1242
if expectedArray. count >= 2 {
1243
1243
for i in 0 ..< allIndices. count- 1 {
@@ -1463,7 +1463,7 @@ public func checkOneLevelOfBidirectionalCollection<
1463
1463
}
1464
1464
}
1465
1465
1466
- var allIndices = Array ( collection. indices)
1466
+ let allIndices = Array ( collection. indices)
1467
1467
1468
1468
if expectedArray. count >= 2 {
1469
1469
for i in 0 ..< allIndices. count- 1 {
@@ -1748,7 +1748,7 @@ public func checkOneLevelOfRandomAccessCollection<
1748
1748
}
1749
1749
}
1750
1750
1751
- var allIndices = Array ( collection. indices)
1751
+ let allIndices = Array ( collection. indices)
1752
1752
1753
1753
if expectedArray. count >= 2 {
1754
1754
for i in 0 ..< allIndices. count- 1 {
0 commit comments