mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] Update partition tests with feedback
This commit is contained in:
@@ -150,9 +150,8 @@ Algorithm.test("invalidOrderings") {
|
||||
var a: A<Int>
|
||||
a = randomArray()
|
||||
let lt = $0
|
||||
if let first = a.first {
|
||||
_ = a.partition(by: { !lt($0, first) })
|
||||
}
|
||||
let first = a.first
|
||||
_ = a.partition(by: { !lt($0, first!) })
|
||||
}
|
||||
/*
|
||||
// FIXME: Disabled due to <rdar://problem/17734737> Unimplemented:
|
||||
|
||||
Reference in New Issue
Block a user