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

👌 isolatedVersion as a lazy property

This commit is contained in:
2022-03-15 18:27:38 +01:00
parent ca8f5a8fbe
commit a8bad8447a
3 changed files with 7 additions and 7 deletions

View File

@ -20,12 +20,12 @@ class NginxConfigParserTest: XCTestCase {
func testCanDetermineIsolation() throws {
XCTAssertNil(
NginxConfigParser(filePath: NginxConfigParserTest.regularUrl.path).isolatedVersion()
NginxConfigParser(filePath: NginxConfigParserTest.regularUrl.path).isolatedVersion
)
XCTAssertEqual(
"8.1",
NginxConfigParser(filePath: NginxConfigParserTest.isolatedUrl.path).isolatedVersion()
NginxConfigParser(filePath: NginxConfigParserTest.isolatedUrl.path).isolatedVersion
)
}