Skip to content

Commit a3b269d

Browse files
committed
Fix lint warnings
1 parent 23e4d6d commit a3b269d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Tests/LinuxMain.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import XCTest
33
import MockingKitTests
44

55
var tests = [XCTestCaseEntry]()
6-
//tests += MockingKitTests.allTests()
6+
// tests += MockingKitTests.allTests()
77
XCTMain(tests)

Tests/MockingKitTests/MockTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MockTests: QuickSpec {
2424

2525
it("registers function with reference id") {
2626
let ref = mock.functionWithIntResultRef
27-
let result: (String, Int) throws -> Int = { str, int in int * 2 }
27+
let result: (String, Int) throws -> Int = { _, int in int * 2 }
2828
mock.registerResult(for: ref, result: result)
2929
let obj = mock.mock.registeredResults[ref.id]
3030
expect(obj).toNot(beNil())

Tests/MockingKitTests/MockableTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MockableTests: QuickSpec {
2424

2525
it("registers function with reference id") {
2626
let ref = mock.functionWithIntResultRef
27-
let result: (String, Int) throws -> Int = { str, int in int * 2 }
27+
let result: (String, Int) throws -> Int = { _, int in int * 2 }
2828
mock.registerResult(for: ref, result: result)
2929
let obj = mock.mock.registeredResults[ref.id]
3030
expect(obj).toNot(beNil())

Tests/MockingKitTests/XCTestManifests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import XCTest
33
#if !canImport(ObjectiveC)
44
public func allTests() -> [XCTestCaseEntry] {
55
return [
6-
//testCase(MockingKitTests.allTests)
6+
// testCase(MockingKitTests.allTests)
77
]
88
}
99
#endif

0 commit comments

Comments
 (0)