Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
CatTail committed Aug 28, 2018
1 parent 3edf487 commit e491980
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/scala/aserralle/akka/stream/kcl/Errors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
package aserralle.akka.stream.kcl

object Errors {
case class WorkerUnexpectedShutdown(cause: Throwable) extends Throwable(cause)
case class WorkerUnexpectedShutdown(cause: Throwable)
extends Throwable(cause)

case class BackpressureTimeout(cause: Throwable) extends Throwable(cause)
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ class KinesisWorkerSourceSourceSpec

Await.ready(watch, 5.seconds)
val Failure(exception) = watch.value.get
assert(exception.getCause.getMessage.contains("Futures timed out after [100 milliseconds]"))
assert(
exception.getCause.getMessage
.contains("Futures timed out after [100 milliseconds]"))

killSwitch.shutdown()
}
Expand Down

0 comments on commit e491980

Please sign in to comment.