aboutsummaryrefslogtreecommitdiff
path: root/sample/src/androidTest
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-29 17:47:29 -0800
committerAllan Wang <me@allanwang.ca>2020-02-29 17:47:29 -0800
commit25bd1b90509fe2b979e3461e0015f71085cb5dc9 (patch)
treeba7361b95d2b10c83ba7551d32cedef818f1ea11 /sample/src/androidTest
parente5cc1f1d5473ffa5fe5fc806e6c86ef354535ab1 (diff)
downloadkau-25bd1b90509fe2b979e3461e0015f71085cb5dc9.tar.gz
kau-25bd1b90509fe2b979e3461e0015f71085cb5dc9.tar.bz2
kau-25bd1b90509fe2b979e3461e0015f71085cb5dc9.zip
Update versions
Diffstat (limited to 'sample/src/androidTest')
-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()
}