aboutsummaryrefslogtreecommitdiff
path: root/sample/src/androidTest/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/androidTest/kotlin')
-rw-r--r--sample/src/androidTest/kotlin/ca/allanwang/kau/sample/SampleTestApp.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/SampleTestApp.kt b/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/SampleTestApp.kt
index 2bf5ca3..c6ab259 100644
--- a/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/SampleTestApp.kt
+++ b/sample/src/androidTest/kotlin/ca/allanwang/kau/sample/SampleTestApp.kt
@@ -46,8 +46,7 @@ class SampleTestRule : TestRule {
override fun evaluate() {
// Reset prefs
- val pref: KPrefSample = get()
- pref.reset()
+ get<KPrefSample>().reset()
base.evaluate()
}