Skip to content

Commit 4833ed3

Browse files
committed
Minor fix in tests
1 parent 9bbe39a commit 4833ed3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)