We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6105abf commit 5ca37f8Copy full SHA for 5ca37f8
validation-test/stdlib/SequenceType.swift.gyb
@@ -984,7 +984,7 @@ SequenceTypeTests.test("prefix/dispatch") {
984
985
SequenceTypeTests.test("prefix/drop/dispatch") {
986
let xs = sequence(first: 1, next: {$0 < 10 ? $0 + 1 : nil})
987
- expectTrue(Array(xs.prefix(3).drop(while: {$0 < 7})).isEmpty)
+ expectEqualSequence([], Array(xs.prefix(3).drop(while: {$0 < 7})))
988
}
989
990
//===----------------------------------------------------------------------===//
0 commit comments