Skip to content

Commit f144e57

Browse files
committed
Fix errors in lint tests
1 parent 1be2033 commit f144e57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/lint/src/test/kotlin/FirebaseAppGetDetectorTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class FirebaseAppGetDetectorTests : LintDetectorTest() {
120120
val instance = FirebaseApp.getInstance().get(Foo::class.java)
121121
122122
@JvmStatic
123-
fun getInstance(app: FirebaseApp) = app.get(Foo::class.java)
123+
fun getInstance(app: FirebaseApp): Foo = app.get(Foo::class.java)
124124
}
125125
}
126126
"""
@@ -145,7 +145,7 @@ class FirebaseAppGetDetectorTests : LintDetectorTest() {
145145
val instance = FirebaseApp.getInstance().get(FooImpl::class.java)
146146
147147
@JvmStatic
148-
fun getInstance(app: FirebaseApp) = app.get(FooImpl::class.java)
148+
fun getInstance(app: FirebaseApp): Foo = app.get(FooImpl::class.java)
149149
}
150150
}
151151
class FooImpl : Foo()

0 commit comments

Comments
 (0)