Skip to content

Commit 5ad483c

Browse files
committed
update error message
1 parent d6ed229 commit 5ad483c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ArgumentParserUnitTests/ExitCodeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ extension ExitCodeTests {
105105
#else
106106
XCTAssertEqual(
107107
NSErrorCommand.message(for: NSErrorCommand.fileNotFoundNSError),
108-
"Error Domain=TestError Code=1 \"(null)\"\(NSErrorCommand.message)")
108+
"Error Domain=TestError Code=1 \"(null)\"UserInfo={NSLocalizedDescription=\(NSErrorCommand.message)}")
109109
#endif
110110
#else
111111
XCTAssertEqual(

0 commit comments

Comments
 (0)