Skip to content

stdlib tests: remove unnecessary argument labels #2435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/1_stdlib/Inputs/DictionaryKeyValueTypesObjC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ func convertArrayToNSArray<T>(_ array: [T]) -> NSArray {
}

func getBridgedNSArrayOfValueTypeCustomBridged(
numElements numElements: Int = 3,
numElements: Int = 3,
capacity: Int? = nil
) -> NSArray {
assert(!_isBridgedVerbatimToObjectiveC(TestBridgedValueTy.self))
Expand Down
2 changes: 1 addition & 1 deletion validation-test/stdlib/Dictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3467,7 +3467,7 @@ class MockDictionaryWithCustomCount : NSDictionary {
static var timesCountWasCalled = 0
}

func getMockDictionaryWithCustomCount(count count: Int)
func getMockDictionaryWithCustomCount(count: Int)
-> Dictionary<NSObject, AnyObject> {

return MockDictionaryWithCustomCount(count: count) as Dictionary
Expand Down
4 changes: 2 additions & 2 deletions validation-test/stdlib/Set.swift
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func getBridgedNSSetOfRefTypesBridgedVerbatim() -> NSSet {
}

func getBridgedNSSet_ValueTypesCustomBridged(
numElements numElements: Int = 3
numElements: Int = 3
) -> NSSet {
expectTrue(!_isBridgedVerbatimToObjectiveC(TestBridgedKeyTy.self))

Expand Down Expand Up @@ -3501,7 +3501,7 @@ class MockSetWithCustomCount : NSSet {
static var timesCountWasCalled = 0
}

func getMockSetWithCustomCount(count count: Int)
func getMockSetWithCustomCount(count: Int)
-> Set<NSObject> {

return MockSetWithCustomCount(count: count) as Set
Expand Down