Skip to content

Commit 1e10b4f

Browse files
committed
[test] remove repetitions
1 parent eb27d2c commit 1e10b4f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/stdlib/Span/StringUTF8SpanProperty.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,8 @@ suite.test("UTF8Span from Span")
109109
let span1 = s.span
110110
guard let utf8 = expectNotNil(try? UTF8Span(validating: span1)) else { return }
111111

112-
expectEqual(utf8.count, span1.count)
113112
let span2 = utf8.span
114113
expectTrue(span1.isIdentical(to: span2))
115-
expectEqual(span1.count, span2.count)
116-
for (i,j) in zip(span1.indices, span2.indices) {
117-
expectEqual(span1[i], span2[j])
118-
}
119114
}
120115

121116
suite.test("Span from Substring.utf8Span")

0 commit comments

Comments
 (0)