This repository was archived by the owner on Jan 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/kotlin/com/mapk/fastkfunction Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ private class FastKFunctionTest {
26
26
@Nested
27
27
@TestInstance(TestInstance .Lifecycle .PER_CLASS )
28
28
inner class CheckParametersTest {
29
- val valueParameter = mockk<KParameter >() {
29
+ val valueParameter = mockk<KParameter > {
30
30
every { kind } returns KParameter .Kind .VALUE
31
31
}
32
- val instanceParameter = mockk<KParameter >() {
32
+ val instanceParameter = mockk<KParameter > {
33
33
every { kind } returns KParameter .Kind .INSTANCE
34
34
}
35
35
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ private class SingleArgFastKFunctionTest {
19
19
@Nested
20
20
@TestInstance(TestInstance .Lifecycle .PER_CLASS )
21
21
inner class CheckParametersTest {
22
- val valueParameter = mockk<KParameter >() {
22
+ val valueParameter = mockk<KParameter > {
23
23
every { kind } returns KParameter .Kind .VALUE
24
24
}
25
- val instanceParameter = mockk<KParameter >() {
25
+ val instanceParameter = mockk<KParameter > {
26
26
every { kind } returns KParameter .Kind .INSTANCE
27
27
}
28
28
You can’t perform that action at this time.
0 commit comments