diff options
author | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-08-16 21:46:54 +0200 |
---|---|---|
committer | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-08-16 21:46:54 +0200 |
commit | d1223eb085e9901b27cbc4992c24716da1baf483 (patch) | |
tree | 0cc9108b3d2fc2c24162c864d18db27624cb3a95 /WireGuardTests/ValidatorsTests.swift | |
parent | Calculate and apply CIDR. (diff) | |
download | wireguard-apple-d1223eb085e9901b27cbc4992c24716da1baf483.tar.xz wireguard-apple-d1223eb085e9901b27cbc4992c24716da1baf483.zip |
Disable warning for function body length.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | WireGuardTests/ValidatorsTests.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuardTests/ValidatorsTests.swift b/WireGuardTests/ValidatorsTests.swift index 39182be..af06457 100644 --- a/WireGuardTests/ValidatorsTests.swift +++ b/WireGuardTests/ValidatorsTests.swift @@ -120,6 +120,7 @@ class ValidatorsTests: XCTestCase { executeTest(stringRepresentation: "12345") } + // swiftlint:disable next function_body_length func testIPv4CIDRAddressSubnetConversion() throws { // swiftlint:disable force_try let cidrAddress1 = try! CIDRAddress(stringRepresentation: "128.0.0.0/1")! |