Disable warning for function body length.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jeroen Leenarts 2018-08-16 21:46:54 +02:00
parent d341c8e8e8
commit d1223eb085
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ class ValidatorsTests: XCTestCase {
executeTest(stringRepresentation: "12345") executeTest(stringRepresentation: "12345")
} }
// swiftlint:disable next function_body_length
func testIPv4CIDRAddressSubnetConversion() throws { func testIPv4CIDRAddressSubnetConversion() throws {
// swiftlint:disable force_try // swiftlint:disable force_try
let cidrAddress1 = try! CIDRAddress(stringRepresentation: "128.0.0.0/1")! let cidrAddress1 = try! CIDRAddress(stringRepresentation: "128.0.0.0/1")!