diff --git a/peekaboo-cli/Tests/peekabooTests/JSONOutputTests.swift b/peekaboo-cli/Tests/peekabooTests/JSONOutputTests.swift index ca44c71..a98fad8 100644 --- a/peekaboo-cli/Tests/peekabooTests/JSONOutputTests.swift +++ b/peekaboo-cli/Tests/peekabooTests/JSONOutputTests.swift @@ -283,7 +283,7 @@ struct JSONOutputTests { for errorCode in errorCodes { #expect(!errorCode.rawValue.isEmpty) - #expect(errorCode.rawValue.allSatisfy { $0.isASCII }) + #expect(errorCode.rawValue.allSatisfy(\.isASCII)) } } }