Ver Fonte

Update the Swiftlint rules

Victor Sigler há 5 anos atrás
pai
commit
0d338b29ec

+ 0 - 1
XCode/LinuxMain.swift

@@ -1,5 +1,4 @@
 import XCTest
-
 import SwifterTests
 
 var tests = [XCTestCaseEntry]()

+ 1 - 1
XCode/Tests/SwifterTestsHttpParser.swift

@@ -50,7 +50,7 @@ class SwifterTestsHttpParser: XCTestCase {
         }
     }
 
-    // swiftlint:disable function_body_length
+    // swiftlint:disable function_body_length cyclomatic_complexity
     func testParser() {
         let parser = HttpParser()
 

+ 1 - 1
XCode/Tests/SwifterTestsWebSocketSession.swift

@@ -29,7 +29,7 @@ class SwifterTestsWebSocketSession: XCTestCase {
         }
     }
 
-    // swiftlint:disable function_body_length
+    // swiftlint:disable function_body_length cyclomatic_complexity
     func testParser() {
 
         do {