File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1188,7 +1188,7 @@ class TestData : TestDataSuper {
1188
1188
var d = Data ( )
1189
1189
1190
1190
// d should go from .empty representation to .inline.
1191
- // Appending a small enough sequence to fit in linline should actually be copied.
1191
+ // Appending a small enough sequence to fit in .inline should actually be copied.
1192
1192
d. append ( contentsOf: 0x00 ... 0x01 )
1193
1193
expectEqual ( Data ( [ 0x00 , 0x01 ] ) , d)
1194
1194
@@ -1210,7 +1210,7 @@ class TestData : TestDataSuper {
1210
1210
var d = Data ( )
1211
1211
1212
1212
// d should go from .empty representation to .inline.
1213
- // Appending a small enough sequence to fit in linline should actually be copied.
1213
+ // Appending a small enough sequence to fit in .inline should actually be copied.
1214
1214
d. append ( contentsOf: ( 0x00 ... 0x01 ) . makeIterator ( ) ) // `.makeIterator()` produces a sequence whose `.underestimatedCount` is 0.
1215
1215
expectEqual ( Data ( [ 0x00 , 0x01 ] ) , d)
1216
1216
You can’t perform that action at this time.
0 commit comments