Skip to content

Commit 2a5d5bc

Browse files
CodaFiDave Abrahams
authored andcommitted
Update prefix-drop regression test (#8194)
1 parent e86ff49 commit 2a5d5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/stdlib/SequenceType.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ SequenceTypeTests.test("prefix/dispatch") {
984984

985985
SequenceTypeTests.test("prefix/drop/dispatch") {
986986
let xs = sequence(first: 1, next: {$0 < 10 ? $0 + 1 : nil})
987-
expectTrue(Array(xs.prefix(3).drop(while: {$0 < 7})).isEmpty)
987+
expectEqualSequence([], Array(xs.prefix(3).drop(while: {$0 < 7})))
988988
}
989989

990990
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)