Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

A test names its XPC protocol the way Peel and the helper do

Țugui Dragoș9478c7635ee8
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/HelperReplyTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/HelperReplyTests.swift
index 7ef2d7b5..df3a9894 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/HelperReplyTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/HelperReplyTests.swift
@@ -22,7 +22,7 @@ private final class Answers: NSObject, LooseTrashReplies, NSXPCListenerDelegate
}
func listener(_ listener: NSXPCListener, shouldAcceptNewConnection connection: NSXPCConnection) -> Bool {
- connection.exportedInterface = NSXPCInterface(with: LooseTrashReplies.self)
+ connection.exportedInterface = NSXPCInterface(with: (any LooseTrashReplies).self)
connection.exportedObject = self
connection.resume()
return true