Add som units tests (split some code to made some part testable)
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
This commit is contained in:
1 parent
b4ced6911c
commit
69ba5a53bf
26 files changed
+1738
-156
No files matched your search
@@ -59,6 +59,7 @@ public extension String {
|
||||
}
|
||||
|
||||
func replaceTiltWithHomeDirectoryPath() -> Self {
|
||||
// See NSString.expandingTildeInPath
|
||||
replacingOccurrences(of: "~", with: "\(FileManager.default.homeDirectoryForCurrentUser.relativePath)")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user