1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-13 14:30:06 +02:00

🏗 Ensure Shellable has PATH

This commit is contained in:
2022-10-04 19:00:33 +02:00
parent 8a6139d5e7
commit 2c25bcbdb5
4 changed files with 23 additions and 5 deletions

View File

@@ -32,4 +32,10 @@ class FakeShellTest: XCTestCase {
XCTAssertEqual("Hello world\nGoodbye world", output.out)
}
func test_fake_shell_has_path() {
ActiveShell.useTestable([:])
XCTAssertEqual(Shell.PATH, "/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin")
}
}