Skip to content

Commit 446e89c

Browse files
author
Itai Ferber
committed
Typo fixes in tests
1 parent 115bbf1 commit 446e89c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/stdlib/TestData.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ class TestData : TestDataSuper {
11881188
var d = Data()
11891189

11901190
// 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.
11921192
d.append(contentsOf: 0x00...0x01)
11931193
expectEqual(Data([0x00, 0x01]), d)
11941194

@@ -1210,7 +1210,7 @@ class TestData : TestDataSuper {
12101210
var d = Data()
12111211

12121212
// 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.
12141214
d.append(contentsOf: (0x00...0x01).makeIterator()) // `.makeIterator()` produces a sequence whose `.underestimatedCount` is 0.
12151215
expectEqual(Data([0x00, 0x01]), d)
12161216

0 commit comments

Comments
 (0)