Skip to content

Commit 9f981f1

Browse files
authored
Remove unused TestFileSystem.Error type (#1173)
1 parent 1c37aeb commit 9f981f1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/SwiftDocCTestUtilities/TestFileSystem.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,6 @@ package class TestFileSystem: FileManagerProtocol {
317317
URL(fileURLWithPath: "/tmp/\(ProcessInfo.processInfo.globallyUniqueString)", isDirectory: true)
318318
}
319319

320-
enum Errors: DescribedError {
321-
case invalidPath(String)
322-
var errorDescription: String {
323-
switch self {
324-
case .invalidPath(let path): return "Invalid path '\(path)'"
325-
}
326-
}
327-
}
328-
329320
/// Returns a stable string representation of the file system from a given subpath.
330321
///
331322
/// - Parameter path: The path to the sub hierarchy to dump to a string representation.

0 commit comments

Comments
 (0)