aboutsummaryrefslogtreecommitdiff
path: root/sample/src/androidTest
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-02-29 22:30:16 -0800
committerGitHub <noreply@github.com>2020-02-29 22:30:16 -0800
commit0e014a2fc3afb5bedfc60da45d0d049f2bbe50ac (patch)
treee54e5788b9dcad79d9786ded9af1281eba44390a /sample/src/androidTest
parente5cc1f1d5473ffa5fe5fc806e6c86ef354535ab1 (diff)
parentd84ecd1fa6b103b5afaa1ecaff35738a453b8925 (diff)
downloadkau-0e014a2fc3afb5bedfc60da45d0d049f2bbe50ac.tar.gz
kau-0e014a2fc3afb5bedfc60da45d0d049f2bbe50ac.tar.bz2
kau-0e014a2fc3afb5bedfc60da45d0d049f2bbe50ac.zip
Merge pull request #250 from AllanWang/versions
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()
}