File tree Expand file tree Collapse file tree 1 file changed +21
-22
lines changed Expand file tree Collapse file tree 1 file changed +21
-22
lines changed Original file line number Diff line number Diff line change @@ -16,29 +16,28 @@ import StdlibCollectionUnittest
16
16
17
17
/// Reference-type collection for testing the `base` property.
18
18
class ReferenceCollection : RandomAccessCollection {
19
- typealias Index = Int
20
-
21
- var startIndex : Int {
22
- return 0
23
- }
24
-
25
- var endIndex : Int {
26
- return 1
27
- }
28
-
29
- subscript( index: Int ) -> String {
30
- return " "
31
- }
32
-
33
- func index( after i: Int ) -> Int {
34
- return 1
35
- }
36
-
37
- func index( before i: Int ) -> Int {
38
- return 0
39
- }
40
- }
19
+ typealias Index = Int
20
+
21
+ var startIndex : Int {
22
+ return 0
23
+ }
41
24
25
+ var endIndex : Int {
26
+ return 1
27
+ }
28
+
29
+ subscript( index: Int ) -> String {
30
+ return " "
31
+ }
32
+
33
+ func index( after i: Int ) -> Int {
34
+ return 1
35
+ }
36
+
37
+ func index( before i: Int ) -> Int {
38
+ return 0
39
+ }
40
+ }
42
41
43
42
var SliceTests = TestSuite ( " Collection " )
44
43
You can’t perform that action at this time.
0 commit comments