Skip to content

Commit d591112

Browse files
committed
New indexing model: fix validation-test/stdlib/RangeReplaceable.swift.gyb
1 parent 173e954 commit d591112

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

validation-test/stdlib/RangeReplaceable.swift.gyb

+6-4
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,16 @@ RangeReplaceableTestSuite.test("remove(at:)/dispatch") {
4242
expectCustomizable(tester, tester.log.removeAt)
4343
}
4444

45-
RangeReplaceableTestSuite.test("removeLast/whereIndexIsBidirectional/dispatch") {
46-
var tester = RangeReplaceableCollectionLog.dispatchTester([ OpaqueValue(1) ])
45+
RangeReplaceableTestSuite.test("removeLast/whereSelfIsBidirectionalCollection/dispatch") {
46+
var tester = LoggingRangeReplaceableBidirectionalCollection(wrapping:
47+
LoggingRangeReplaceableBidirectionalCollection(wrapping: [ OpaqueValue(1) ]))
4748
_ = tester.removeLast()
4849
expectCustomizable(tester, tester.log._customRemoveLast)
4950
}
5051

51-
RangeReplaceableTestSuite.test("removeLast(n: Int)/whereIndexIsBidirectional/dispatch") {
52-
var tester = RangeReplaceableCollectionLog.dispatchTester([ OpaqueValue(1) ])
52+
RangeReplaceableTestSuite.test("removeLast(n: Int)/whereSelfIsBidirectionalCollection/dispatch") {
53+
var tester = LoggingRangeReplaceableBidirectionalCollection(wrapping:
54+
LoggingRangeReplaceableBidirectionalCollection(wrapping: [ OpaqueValue(1) ]))
5355
_ = tester.removeLast(1)
5456
expectCustomizable(tester, tester.log._customRemoveLastN)
5557
}

0 commit comments

Comments
 (0)