[stdlib] String internal API review changes

I had to XFAIL test/ClangModules/cf.swift, which is failing for reasons
I can't understand.  <rdar://problem/16911496>

Swift SVN r18071
This commit is contained in:
Dave Abrahams
2014-05-14 14:18:52 +00:00
parent eb9c3a406d
commit a8bbc4c89b
14 changed files with 199 additions and 225 deletions

View File

@@ -1,6 +1,6 @@
// RUN: %target-run-simple-swift | FileCheck %s
typealias CodePoints = UnicodeScalarView
typealias CodePoints = String.UnicodeScalarView
extension CodePoints {
init(_ x: String) {
@@ -39,7 +39,7 @@ func testSplit() {
// FIXME: Disabled pending <rdar://problem/15736729> and <rdar://problem/15733855>
// CHECK-NEXT-DISABLED: [ "", "", "foo bar baz " ]
// println(split(CodePoints(" foo bar baz "), { $0.isSpace() }, true, maxSplit:2))
// println(split(CodePoints(" foo bar baz "), { $0._isSpace() }, true, maxSplit:2))
println("done.")
}