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 e372f7a commit a408582Copy full SHA for a408582
Tests/CommandsTests/RunToolTests.swift
@@ -24,7 +24,7 @@ final class RunToolTests: XCTestCase {
24
25
func testUsage() throws {
26
let stdout = try execute(["-help"]).stdout
27
- XCTAssert(stdout.contains("USAGE: swift run <options>"), "got stdout:\n" + stdout)
+ 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