Skip to content

Commit

Permalink
disabled test
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Aug 29, 2024
1 parent a816c7c commit 590f1e8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Tests/ReleaseToolsTests/ReleaseToolsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import XCTest
import XCTestExtensions

final class ReleaseToolTests: XCTestCase {
func testNoArguments() throws {
let rt = Runner(for: productsDirectory.appendingPathComponent("rt"))
let result = try! rt.sync(arguments: [])
XCTAssertEqual(result.status, 0)
XCTAssertTrue(result.stdout.contains("USAGE: command [--version] <subcommand>"))
}
// func testNoArguments() async throws {
// let rt = Runner(for: productsDirectory.appendingPathComponent("rt"))
// let result = try! rt.run([])
// for await state in result.state {
// XCTAssertEqual(state, .succeeded)
// }
// XCTAssertTrue(await String(result.stdout).contains("USAGE: command [--version] <subcommand>"))
// }
}

0 comments on commit 590f1e8

Please sign in to comment.