Skip to content

Commit 71d478b

Browse files
ghackettGeoff Hackett
andauthored
Remove the hack & warning since the mockk pr has been approved (#11)
Our mockk PR was approved and is included in v1.13.7. This PR upgrades which version of mockK we use and removes our hack (and warnings about it) --------- Co-authored-by: Geoff Hackett <geoff.hackett@reddit.com>
1 parent 50a7b4e commit 71d478b

File tree

4 files changed

+1
-137
lines changed

4 files changed

+1
-137
lines changed

docs/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ Get your default answers back!
22

33
[![Maven Central](https://img.shields.io/maven-central/v/com.episode6.reflectivemockk/reflective-mockk.svg?style=flat-square)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.episode6.reflectivemockk2%22)
44

5-
**WARNING:** This library is currently powered by a
6-
reflective ["hack"](https://github.com/episode6/reflective-mockk/blob/main/src/commonMain/kotlin/com/episode6/reflectivemockk/TheHack.kt)
7-
on mockK, and is thereby subject to removal/breakage by the mockK
8-
team at any time. If you enjoy this library & want it to be officially supported, post a comment saying so
9-
on [this PR: https://github.com/mockk/mockk/pull/1005](https://github.com/mockk/mockk/pull/1005).
10-
115
### Installation
126

137
```groovy

libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
assertk = "0.25"
33
gradle = "7.5.1"
44
kotlin = "1.7.10"
5-
mockk = "1.13.3"
5+
mockk = "1.13.7"
66
kotlinx-coroutines = "1.6.4"
77

88
[libraries]

src/commonMain/kotlin/com/episode6/reflectivemockk/TheHack.kt

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/commonTest/kotlin/com/episode6/reflectivemockk/TheHackTest.kt

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)