Fix a wrong compression test

--compress lzo is indeed supported.
This commit is contained in:
Davide De Rosa 2019-03-30 20:19:49 +01:00
parent 5120bcae0a
commit 596ec00943
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class ConfigurationParserTests: XCTestCase {
// XCTAssertThrowsError(try ConfigurationParser.parsed(fromLines: base + ["comp-lzo yes"])) // XCTAssertThrowsError(try ConfigurationParser.parsed(fromLines: base + ["comp-lzo yes"]))
XCTAssertNoThrow(try ConfigurationParser.parsed(fromLines: base + ["compress"])) XCTAssertNoThrow(try ConfigurationParser.parsed(fromLines: base + ["compress"]))
XCTAssertThrowsError(try ConfigurationParser.parsed(fromLines: base + ["compress lzo"])) XCTAssertNoThrow(try ConfigurationParser.parsed(fromLines: base + ["compress lzo"]))
} }
func testDHCPOption() throws { func testDHCPOption() throws {