Skip to content

Commit

Permalink
rename test file
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineDominion committed Nov 22, 2021
1 parent d782490 commit 0f8cdf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SwiftCSVTests/NamedViewTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import XCTest
@testable import SwiftCSV

class CSVTests: XCTestCase {
class NamedViewTests: XCTestCase {
let string = "id,name,age\n1,Alice,18\n2,Bob,19\n3,Charlie,20"
var csv: CSV<Named>!

Expand Down
2 changes: 1 addition & 1 deletion SwiftCSVTests/ResourceHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Foundation
// This is a workaround for SwiftPM, becasue SwiftPM is not yet support for include resources with targets.(https://bugs.swift.org/browse/SR-2866)
struct ResourceHelper {
static func url(forResource name: String, withExtension type: String) -> URL? {
let bundle = Bundle(for: CSVTests.self)
let bundle = Bundle(for: NamedViewTests.self)
if let url = bundle.url(forResource: name, withExtension: type) {
return url
} else if let realBundle = Bundle(path: "\(bundle.bundlePath)/../../../../SwiftCSVTests") {
Expand Down

0 comments on commit 0f8cdf1

Please sign in to comment.