Skip to content

Commit eda98cd

Browse files
author
Dave Abrahams
committed
Spelling error: s/Avance/Advance/
1 parent cfcc21e commit eda98cd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

validation-test/stdlib/Index.swift.gyb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct DistanceToTest {
5050
}
5151
}
5252

53-
struct AvanceByTest {
53+
struct AdvanceByTest {
5454
let startIndex: Int
5555
let distance: Int
5656
let limit: Int?
@@ -93,53 +93,53 @@ let distanceToTests = [
9393
]
9494

9595
let advancedByTests = [
96-
AvanceByTest(
96+
AdvanceByTest(
9797
startIndex: 0,
9898
distance: 0,
9999
expectedIndex: 0
100100
),
101-
AvanceByTest(
101+
AdvanceByTest(
102102
startIndex: 0,
103103
distance: -1,
104104
expectedIndex: -1
105105
),
106-
AvanceByTest(
106+
AdvanceByTest(
107107
startIndex: 0,
108108
distance: 0,
109109
expectedIndex: 0,
110110
limitedBy: 0
111111
),
112-
AvanceByTest(
112+
AdvanceByTest(
113113
startIndex: 0,
114114
distance: 0,
115115
expectedIndex: 0,
116116
limitedBy: 10
117117
),
118-
AvanceByTest(
118+
AdvanceByTest(
119119
startIndex: 0,
120120
distance: 10,
121121
expectedIndex: 0,
122122
limitedBy: 0
123123
),
124-
AvanceByTest(
124+
AdvanceByTest(
125125
startIndex: 0,
126126
distance: -10,
127127
expectedIndex: 0,
128128
limitedBy: 0
129129
),
130-
AvanceByTest(
130+
AdvanceByTest(
131131
startIndex: 0,
132132
distance: 10,
133133
expectedIndex: 10,
134134
limitedBy: 10
135135
),
136-
AvanceByTest(
136+
AdvanceByTest(
137137
startIndex: 0,
138138
distance: 20,
139139
expectedIndex: 10,
140140
limitedBy: 10
141141
),
142-
AvanceByTest(
142+
AdvanceByTest(
143143
startIndex: 10,
144144
distance: -20,
145145
expectedIndex: 0,

0 commit comments

Comments
 (0)