From 596ec00943f4ce4603d7c997bf969e4fa7c67c0f Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 30 Mar 2019 20:19:49 +0100 Subject: [PATCH] Fix a wrong compression test --compress lzo is indeed supported. --- TunnelKitTests/ConfigurationParserTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TunnelKitTests/ConfigurationParserTests.swift b/TunnelKitTests/ConfigurationParserTests.swift index fec82bb..8a4d693 100644 --- a/TunnelKitTests/ConfigurationParserTests.swift +++ b/TunnelKitTests/ConfigurationParserTests.swift @@ -64,7 +64,7 @@ class ConfigurationParserTests: XCTestCase { // XCTAssertThrowsError(try ConfigurationParser.parsed(fromLines: base + ["comp-lzo yes"])) 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 {