Преглед на файлове

Update the Swiftlint rules

Victor Sigler преди 5 години
родител
ревизия
0d338b29ec
променени са 3 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 0 1
      XCode/LinuxMain.swift
  2. 1 1
      XCode/Tests/SwifterTestsHttpParser.swift
  3. 1 1
      XCode/Tests/SwifterTestsWebSocketSession.swift

+ 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 {