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

Tweaked test copy (#72)

This commit is contained in:
2022-01-11 21:19:23 +01:00
parent b16250c2be
commit a5212b436e

View File

@ -51,8 +51,8 @@ class BrewJsonParserTest: XCTestCase {
/// This test requires that you have a valid Homebrew installation set up, /// This test requires that you have a valid Homebrew installation set up,
/// and requires the Valet services to be installed: php, nginx and dnsmasq. /// and requires the Valet services to be installed: php, nginx and dnsmasq.
/// Otherwise, this test won't fail. If this test fails, there is an issue with /// If this test fails, there is an issue with your Homebrew installation
/// your Homebrew installation or the JSON API of the Homebrew output may have changed. /// or the JSON API of the Homebrew output may have changed.
func testCanParseServicesJsonFromCliOutput() throws { func testCanParseServicesJsonFromCliOutput() throws {
let services = try! JSONDecoder().decode( let services = try! JSONDecoder().decode(
[HomebrewService].self, [HomebrewService].self,
@ -68,9 +68,9 @@ class BrewJsonParserTest: XCTestCase {
} }
/// This test requires that you have a valid Homebrew installation set up, /// This test requires that you have a valid Homebrew installation set up,
/// and requires the Valet services to be installed: php, nginx and dnsmasq. /// and requires the `php` formula to be installed.
/// Otherwise, this test won't fail. If this test fails, there is an issue with /// If this test fails, there is an issue with your Homebrew installation
/// your Homebrew installation or the JSON API of the Homebrew output may have changed. /// or the JSON API of the Homebrew output may have changed.
func testCanLoadExtensionJsonFromCliOutput() throws { func testCanLoadExtensionJsonFromCliOutput() throws {
let package = try! JSONDecoder().decode( let package = try! JSONDecoder().decode(
[HomebrewPackage].self, [HomebrewPackage].self,