mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -208,9 +208,11 @@ println("so < tocks => \(so < tocks)")
|
||||
// CHECK-NEXT: true
|
||||
println("sox < tocks => \(sox < tocks)")
|
||||
|
||||
let qqq = nonASCIILiteral.hasPrefix("🏂☃")
|
||||
let rrr = nonASCIILiteral.hasPrefix("☃")
|
||||
let zz = (
|
||||
nonASCIILiteral.startsWith("🏂☃"), nonASCIILiteral.startsWith("☃"),
|
||||
nonASCIILiteral.endsWith("⛄️❄️"), nonASCIILiteral.endsWith("☃"))
|
||||
nonASCIILiteral.hasPrefix("🏂☃"), nonASCIILiteral.hasPrefix("☃"),
|
||||
nonASCIILiteral.hasSuffix("⛄️❄️"), nonASCIILiteral.hasSuffix("☃"))
|
||||
|
||||
// CHECK-NEXT: <true, false, true, false>
|
||||
println("<\(zz.0), \(zz.1), \(zz.2), \(zz.3)>")
|
||||
|
||||
Reference in New Issue
Block a user