-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// TestResource.swift | ||
// TextFileKit • https://github.com/orchetect/TextFileKit | ||
// © 2021-2024 Steffan Andrews • Licensed under MIT License | ||
// | ||
|
||
import Foundation | ||
import Testing | ||
import TestingExtensions | ||
|
||
// NOTE: DO NOT name any folders "Resources". Xcode will fail to build iOS targets. | ||
|
||
/// Resources files on disk used for unit testing. | ||
extension TestResource { | ||
enum TextFiles { | ||
static let utf8_BOM_Test_csv = TestResource.File( | ||
name: "utf8-bom-test", ext: "csv", subFolder: "Text Files" | ||
) | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Tests/TextFileKitTests/TestResource/Text Files/utf8-bom-test.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"Field1","Field2" | ||
"Row1A","Row1B" | ||
"Row2A","Row2B" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters