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

🚛 Move around files

This commit is contained in:
2022-09-21 21:06:11 +02:00
parent 90a69338f7
commit 39769d815f
6 changed files with 104 additions and 51 deletions

View File

@@ -10,9 +10,9 @@ import XCTest
class ShellTest: XCTestCase {
func test_default_shell_is_system_shell() {
XCTAssertTrue(NewShell.shared is SystemShell)
XCTAssertTrue(NxtShell.shared is SystemShell)
XCTAssertTrue(NewShell.shared.syncPipe("php -v")
XCTAssertTrue(NxtShell.shared.syncPipe("php -v")
.contains("Copyright (c) The PHP Group"))
}
@@ -25,12 +25,12 @@ class ShellTest: XCTestCase {
with Xdebug v3.1.4, Copyright (c) 2002-2022, by Derick Rethans
"""
NewShell.useTestable([
NxtShell.useTestable([
"php -v": expectedPhpOutput
])
XCTAssertTrue(NewShell.shared is TestableShell)
XCTAssertTrue(NxtShell.shared is TestableShell)
XCTAssertEqual(expectedPhpOutput, NewShell.shared.syncPipe("php -v"))
XCTAssertEqual(expectedPhpOutput, NxtShell.shared.syncPipe("php -v"))
}
}