stdlib: Audit API for Swift 3 preposition, first-arg label rules

This commit is the result of auditing the following files:

* StringBuffer.swift
* StringCharacterView.swift
* StringCore.swift
* StringInterpolation.swift.gyb
* StringLegacy.swift
This commit is contained in:
Chris Willmore
2016-02-24 15:08:31 -08:00
parent bb3eaaf308
commit 2ddb6106e4
9 changed files with 41 additions and 35 deletions

View File

@@ -235,7 +235,7 @@ StringTests.test("ForeignIndexes/removeSubrange/OutOfBoundsTrap/2") {
}
StringTests.test("_splitFirst") {
var (before, after, found) = "foo.bar"._splitFirst(".")
var (before, after, found) = "foo.bar"._splitFirst(separator: ".")
expectTrue(found)
expectEqual("foo", before)
expectEqual("bar", after)