Skip to content
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

Update CSwiftVTests.swift #19

Merged
merged 1 commit into from Aug 6, 2016
Merged

Conversation

cbarrerah
Copy link

Updated some calls to adapt to the proposed swift 3 changes in the CSwiftV.swift file

Updated some calls to adapt to the proposed swift 3 changes in the CSwiftV.swift file
@@ -273,7 +273,7 @@ class CSwiftVTests: XCTestCase {
func testThatItCanGetCellsFromAstring() {
testString = withNewLinesInQuotes

let arrayUnderTest = CSwiftV.recordsFromString(testString)
let arrayUnderTest = CSwiftV.recordsFromString(string: testString)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be more like CSwiftV.records(from: testString)

@cbarrerah
Copy link
Author

It may be true, the code i uploaded had just one requisite, compile on swift 3 (the snapshot before the june one), and xcode complained about the lack of parameter name, so i hacked it.

It's true that with the new API Guidelines, records(from: testString) would look much cleaner.

@Daniel1of1 Daniel1of1 merged commit a12496b into Daniel1of1:master Aug 6, 2016
@Daniel1of1 Daniel1of1 mentioned this pull request Aug 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants