Skip to content

Commit e45a2d1

Browse files
committed
Minor fix in tests
1 parent b04bfb3 commit e45a2d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/InterposeKitTests/ClassHookTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ final class ClassHookTests: XCTestCase {
206206
on: ExampleClass.self,
207207
for: #selector(getter: ExampleClass.intValueStatic),
208208
methodKind: .class,
209-
methodSignature: (@convention(c) (ExampleClass, Selector) -> Int).self,
210-
hookSignature: (@convention(block) (ExampleClass) -> Int).self
209+
methodSignature: (@convention(c) (ExampleClass.Type, Selector) -> Int).self,
210+
hookSignature: (@convention(block) (ExampleClass.Type) -> Int).self
211211
) { hook in
212212
return { `self` in 2 }
213213
}

0 commit comments

Comments
 (0)