1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 20:10:08 +02:00

Test synchronous shell output

This commit is contained in:
2023-11-26 21:48:40 +01:00
parent e8306289ce
commit a7d5950aa0
5 changed files with 66 additions and 11 deletions

View File

@ -32,10 +32,10 @@ final class ExtensionEnumeratorTest: XCTestCase {
func testCanParseFormulaeBasedOnSyntax() throws {
let formulae = BrewTapFormulae.from(tap: "shivammathur/homebrew-extensions")
XCTAssertEqual(formulae["8.1"], Set(["xdebug"]))
XCTAssertEqual(formulae["8.2"], Set(["xdebug"]))
XCTAssertEqual(formulae["8.3"], Set(["xdebug"]))
XCTAssertEqual(formulae["8.4"], Set(["xdebug"]))
XCTAssertEqual(formulae["8.1"], [BrewPhpExtension(name: "xdebug", phpVersion: "8.1")])
XCTAssertEqual(formulae["8.2"], [BrewPhpExtension(name: "xdebug", phpVersion: "8.2")])
XCTAssertEqual(formulae["8.3"], [BrewPhpExtension(name: "xdebug", phpVersion: "8.3")])
XCTAssertEqual(formulae["8.4"], [BrewPhpExtension(name: "xdebug", phpVersion: "8.4")])
}
}