mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: protocol extensions: de-underscore filter()
The API was adjusted according to the API review previously. Swift SVN r28592
This commit is contained in:
@@ -180,7 +180,7 @@ ArrayTestSuite.test("${array_type}/filter") {
|
||||
expectUnreachable()
|
||||
return true
|
||||
}
|
||||
expectType(${array_type}<Int>.self, &result)
|
||||
expectType(Array<Int>.self, &result)
|
||||
expectEqual([], result)
|
||||
expectEqual(0, result.capacity)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user