diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift index 23a42a1..f8ecdea 100644 --- a/Tests/LinuxMain.swift +++ b/Tests/LinuxMain.swift @@ -3,5 +3,5 @@ import XCTest import MockingKitTests var tests = [XCTestCaseEntry]() -//tests += MockingKitTests.allTests() +// tests += MockingKitTests.allTests() XCTMain(tests) diff --git a/Tests/MockingKitTests/MockTests.swift b/Tests/MockingKitTests/MockTests.swift index 11ae7d8..aeefeb3 100644 --- a/Tests/MockingKitTests/MockTests.swift +++ b/Tests/MockingKitTests/MockTests.swift @@ -24,7 +24,7 @@ class MockTests: QuickSpec { it("registers function with reference id") { let ref = mock.functionWithIntResultRef - let result: (String, Int) throws -> Int = { str, int in int * 2 } + let result: (String, Int) throws -> Int = { _, int in int * 2 } mock.registerResult(for: ref, result: result) let obj = mock.mock.registeredResults[ref.id] expect(obj).toNot(beNil()) diff --git a/Tests/MockingKitTests/MockableTests.swift b/Tests/MockingKitTests/MockableTests.swift index e69b738..cc9e583 100644 --- a/Tests/MockingKitTests/MockableTests.swift +++ b/Tests/MockingKitTests/MockableTests.swift @@ -24,7 +24,7 @@ class MockableTests: QuickSpec { it("registers function with reference id") { let ref = mock.functionWithIntResultRef - let result: (String, Int) throws -> Int = { str, int in int * 2 } + let result: (String, Int) throws -> Int = { _, int in int * 2 } mock.registerResult(for: ref, result: result) let obj = mock.mock.registeredResults[ref.id] expect(obj).toNot(beNil()) diff --git a/Tests/MockingKitTests/XCTestManifests.swift b/Tests/MockingKitTests/XCTestManifests.swift index 8c6fc55..7b41674 100644 --- a/Tests/MockingKitTests/XCTestManifests.swift +++ b/Tests/MockingKitTests/XCTestManifests.swift @@ -3,7 +3,7 @@ import XCTest #if !canImport(ObjectiveC) public func allTests() -> [XCTestCaseEntry] { return [ - //testCase(MockingKitTests.allTests) + // testCase(MockingKitTests.allTests) ] } #endif