Skip to content

Commit 6b62413

Browse files
committed
style: spotless apply
1 parent 8352adc commit 6b62413

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

firebase-functions/src/androidTest/java/com/google/firebase/functions/StreamTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class StreamTests {
145145

146146
@Test
147147
fun nonExistentFunction_receivesError() = runBlocking {
148-
val function = functions.getHttpsCallable("nonexistentFunction")
149-
.withTimeout(2000, TimeUnit.MILLISECONDS)
148+
val function =
149+
functions.getHttpsCallable("nonexistentFunction").withTimeout(2000, TimeUnit.MILLISECONDS)
150150
val subscriber = StreamSubscriber()
151151

152152
function.stream().subscribe(subscriber)

firebase-functions/src/main/java/com/google/firebase/functions/PublisherStream.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,7 @@ internal class PublisherStream(
325325
return
326326
}
327327
notifyError(
328-
FirebaseFunctionsException(
329-
error.toString(),
330-
FirebaseFunctionsException.Code.INTERNAL,
331-
error
332-
)
328+
FirebaseFunctionsException(error.toString(), FirebaseFunctionsException.Code.INTERNAL, error)
333329
)
334330
}
335331
}

0 commit comments

Comments
 (0)