From 5f958c6f4c7ce5296bdce799cc03f55c14b77e7e Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sat, 18 Jan 2025 12:14:42 +0100 Subject: [PATCH] Added the "root" case to the Folder enumeration. --- Library/Sources/Internal/Enumerations/Folder.swift | 2 ++ Test/Sources/Cases/Internal/Enumerations/FolderTests.swift | 1 + 2 files changed, 3 insertions(+) diff --git a/Library/Sources/Internal/Enumerations/Folder.swift b/Library/Sources/Internal/Enumerations/Folder.swift index fc9c448..6ab0a90 100644 --- a/Library/Sources/Internal/Enumerations/Folder.swift +++ b/Library/Sources/Internal/Enumerations/Folder.swift @@ -2,6 +2,7 @@ enum Folder { case app case libraryPublic case libraryInternal + case root case testCasesPublic case testCasesInternal case testHelpers @@ -18,6 +19,7 @@ extension Folder { case .app: "App/Sources" case .libraryPublic: "Library/Sources/Public" case .libraryInternal: "Library/Sources/Internal" + case .root: "" case .testCasesPublic: "Test/Sources/Cases/Public" case .testCasesInternal: "Test/Sources/Cases/Internal" case .testHelpers: "Test/Sources/Helpers" diff --git a/Test/Sources/Cases/Internal/Enumerations/FolderTests.swift b/Test/Sources/Cases/Internal/Enumerations/FolderTests.swift index 31196f5..1278e42 100644 --- a/Test/Sources/Cases/Internal/Enumerations/FolderTests.swift +++ b/Test/Sources/Cases/Internal/Enumerations/FolderTests.swift @@ -26,6 +26,7 @@ private extension FolderTests { "App/Sources", "Library/Sources/Public", "Library/Sources/Internal", + "", "Test/Sources/Cases/Public", "Test/Sources/Cases/Internal", "Test/Sources/Helpers"