Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Oct 27, 2021
1 parent 23e4d6d commit a3b269d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import XCTest
import MockingKitTests

var tests = [XCTestCaseEntry]()
//tests += MockingKitTests.allTests()
// tests += MockingKitTests.allTests()
XCTMain(tests)
2 changes: 1 addition & 1 deletion Tests/MockingKitTests/MockTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion Tests/MockingKitTests/MockableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion Tests/MockingKitTests/XCTestManifests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import XCTest
#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
//testCase(MockingKitTests.allTests)
// testCase(MockingKitTests.allTests)
]
}
#endif

0 comments on commit a3b269d

Please sign in to comment.