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:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user