Skip to content

Commit 489c8d0

Browse files
committed
Fix tool list test
1 parent 2108b36 commit 489c8d0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎app/Tests/NotProtonAppTests/PrefixToolsTests.swift‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ struct PrefixToolsTests {
149149

150150
@Test("Every tool is offered under the name the loader resolves")
151151
func toolNamesAreBare() {
152-
#expect(WineTool.allCases.map(\.rawValue) == ["winecfg", "regedit", "taskmgr"])
152+
#expect(WineTool.allCases.map(\.rawValue) == ["winecfg", "regedit", "taskmgr", "joycpl"])
153+
#expect(WineTool.joycpl.arguments(runner: URL(filePath: "/cx")) == ["/cx/lib/wine/x86_64-windows/control.exe", "joy.cpl"])
153154
for tool in WineTool.allCases {
154155
#expect(!tool.rawValue.contains("/"), "\(tool) would not resolve as a builtin")
155156
#expect(!tool.rawValue.hasSuffix(".exe"))

0 commit comments

Comments
 (0)