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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tests/CSwiftVTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)


let expectedArray = [
"Year,Make,Model,Description,Price",
Expand All @@ -288,7 +288,7 @@ class CSwiftVTests: XCTestCase {
func testThatItCanGetCells() {
testString = singleString

let arrayUnderTest = CSwiftV.cellsFromString(testString)
let arrayUnderTest = CSwiftV.cellsFromString(rowString: testString)

let expectedArray = [
"1999",
Expand Down Expand Up @@ -323,7 +323,7 @@ class CSwiftVTests: XCTestCase {

func testPerformance() {
let testString = nativeSwiftStringCSV
measureBlock {
measure {
let _ = CSwiftV(string: testString)
}
}
Expand Down