diff --git a/akka-typed-tests/src/test/scala/akka/typed/ExtensionsSpec.scala b/akka-typed-tests/src/test/scala/akka/typed/ExtensionsSpec.scala index 4c7d7cde9b..e0d1be2d09 100644 --- a/akka-typed-tests/src/test/scala/akka/typed/ExtensionsSpec.scala +++ b/akka-typed-tests/src/test/scala/akka/typed/ExtensionsSpec.scala @@ -6,9 +6,8 @@ package akka.typed import java.util.concurrent.atomic.AtomicInteger import com.typesafe.config.{ Config, ConfigFactory } -import org.scalatest.concurrent.ScalaFutures -import scala.concurrent.{ Await, Future } +import scala.concurrent.Future class DummyExtension1 extends Extension object DummyExtension1 extends ExtensionId[DummyExtension1] { @@ -131,7 +130,7 @@ class ExtensionsSpec extends TypedSpecSetup { intercept[RuntimeException] { withEmptyActorSystem( "ExtensionsSpec07", - Some(ConfigFactory.parseString("""akka.library-extensions += "akka.typed.FailingToLoadExtension$""")) + Some(ConfigFactory.parseString("""akka.typed.library-extensions += "akka.typed.FailingToLoadExtension$" """)) ) { _ ⇒ () } } @@ -139,7 +138,7 @@ class ExtensionsSpec extends TypedSpecSetup { intercept[RuntimeException] { withEmptyActorSystem( "ExtensionsSpec08", - Some(ConfigFactory.parseString("""akka.library-extensions += "akka.typed.MissingExtension""")) + Some(ConfigFactory.parseString("""akka.typed.library-extensions += "akka.typed.MissingExtension" """)) ) { _ ⇒ () } } diff --git a/akka-typed/src/main/resources/reference.conf b/akka-typed/src/main/resources/reference.conf index 444ad35389..2395f7a91e 100644 --- a/akka-typed/src/main/resources/reference.conf +++ b/akka-typed/src/main/resources/reference.conf @@ -26,7 +26,7 @@ akka.typed { # # Should not be set by end user applications in 'application.conf', use the extensions property for that # - library-extensions = ${?akka.library-extensions} [] + library-extensions = ${?akka.typed.library-extensions} [] } # TODO: move these out somewhere else when doing #23632