We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609d57e commit cfbe360Copy full SHA for cfbe360
Tests/CommandsTests/RunToolTests.swift
@@ -23,7 +23,8 @@ final class RunToolTests: XCTestCase {
23
}
24
25
func testUsage() throws {
26
- XCTAssert(try execute(["--help"]).stdout.contains("USAGE: swift run <options>"))
+ let stdout = try execute(["-help"]).stdout
27
+ XCTAssert(stdout.contains("USAGE: swift run <options>") || stdout.contains("USAGE: swift run [<options>]"), "got stdout:\n" + stdout)
28
29
30
func testSeeAlso() throws {
0 commit comments